BASIC_generic is an implementation of Full BASIC independent of CPU's and OS's.
This can be compiled with
FPC 2.6.4 + Lazarus 1.2.4
FPC 3.0.2 + Lazarus 1.6.4
On porting to other platforms, rewrite EOL's in sconsts.pas.
MyUtils.pas and Stack.pas need to be rewritten..
Known Incompatibly with Full BASIC standard
The acuracy of trigonometric functions does not meet with the requirement of Full BASIC standard. For example, SIN(PI) or COS(PI/2) returns zero, which is not acurate because PI is an approximate number, which is rational.