> FreeBASIC is a free/open source (GPL), BASIC compiler for Microsoft
> Windows, DOS and Linux.
>  When used in its "QB" language mode, FreeBASIC provides a high
> level of support for programs written for QuickBASIC. Many programs
> written for QuickBASIC will compile and run in this mode with no
> changes needed.

This is an older version that doesn't really have its own variety of
BASIC. It seems to be a one-off port to the Mac, sourced from [the
Official Hamster Republic Role Playing Game Construction Engine][1].
It's not perfect, but it allows the creation of terminal apps.

[ FreeBASIC Home][2]

Compatibility
Architecture: x86 (Intel:Mac)

Requires a 64-bit Intel system.

  [1]: http://rpg.hamsterrepublic.com/ohrrpgce/Compiling_in_Mac_OS_X
  [2]: https://www.freebasic.net/