Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spectrum BASIC Dialects
#2
That's a possibilty, yes.
ZX Basic already supports different backends (assembly code generatos) as plugins. Frontend (parsers) for different dialect of even languages should be possible to.

Also remember that you can use #define macros (as in C). Subs can be used without parenthesis, and so functions with 1 argument (i.e. SIN(x) and SIN x, but also SUB DrawX(x, y) => DrawX x, y. This allows to expand (somewhat) the language as a temporary workaround.
Reply


Messages In This Thread
Spectrum BASIC Dialects - by Dorogusha - 08-31-2020, 04:22 PM
RE: Spectrum BASIC Dialects - by boriel - 08-31-2020, 09:15 PM
Spectrum BASIC Dialects - by Dorogusha - 09-05-2020, 01:29 AM
RE: Spectrum BASIC Dialects - by boriel - 09-05-2020, 10:08 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)