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 - 2020-08-31, 05:22 PM
RE: Spectrum BASIC Dialects - by boriel - 2020-08-31, 10:15 PM
Spectrum BASIC Dialects - by Dorogusha - 2020-09-05, 02:29 AM
RE: Spectrum BASIC Dialects - by boriel - 2020-09-05, 11:08 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)