Recreate Applesoft BASIC

MSP is amazing, but I am a bit confused about the outcomes. Can I recreate Applesoft BASIC and type an old BASIC program on it and run it? Is it possible to access graphic´s capabilities, like draw a line or a circle, in my custom language?

4 comments
Comment actions Permalink

Sure you can re-create the language and type it.

As for running it, you will need some way to either compile or interpret it, or generate it into some code that is runnable in a runtime that you provide. Just like, for example, the Shapes sample language allows you define squares and circles of different colors and the program is then generated into Java, which is then run to draw the actual squares and circles.

Vaclav

 

0
Comment actions Permalink

Hummm.. so, MPS will generate a source code to be compiled in another language, right?

0
Comment actions Permalink

You can also implement an interpreter for your language and launch it from within MPS. 

0
Comment actions Permalink

It is a clever approach. Congratulations to the dev team. 

0

Please sign in to leave a comment.