Howdy Y'all : I am designing an embedded controller that needs an application programming ability. In the base layers of the software I have the basic control blocks running in compiled C, with setup, referencing and monitoring via registers accessed via MODBUS links. What I would like to do is :
1 - Include a BASIC interpreter in my core code. This would be sourced in generic C and ported to my compiler 2 - Extend the BASIC dialect to have non-standard keywords that I will map onto API functions in my base code (get and set functions to provide lvalues and accept assignments). I would somehow throw exceptions at the interpreter if it made illegal assignments to the control layer Now I don't want to write a BASIC interpreter myself, so does anybody know of an interpreter written in C that I can include in my source, point at its code-to-run (pre-compiled to a byte code offline ideally), point at its memory for stacks, heaps etc and provide its API's for assigning to/getting the value of "Controller Variable N" Thanks Gary- posted
18 years ago