Letting a player program.

BlitzMax Forums/BlitzMax Beginners Area/Letting a player program.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I suppose there is no way to directly evaluate a string of commands then? Without using word parsing?

Im afraid not. and if there were, that method would still have to parse the string ;)

I would suggest parsing/compiling down to a simple stack machine with a single number type, and implementing functions as opcodes.