1 Attachment(s)
GCC module example: very very simple expression evaluator
For those loving C, here a little (very basic) expression evaluator module developed in C using DevC++
DevC++ can be downloaded from http://www.bloodshed.net/
After installed DevC++, just open .DEV file (.DEV files are DevC++ project files) and compile to get thinBasic dll module.
Hope this can give you some more info on how to interface with thinBasic Core engine.
Ciao
Eros
Re: GCC module example: very very simple expression evaluator
THanks for the example Eros!
Re: GCC module example: very very simple expression evaluator
Thanks Eros, that is good to have another freeware language to create modules for thinBasic.
Re: GCC module example: very very simple expression evaluator
Thanks Eros!
I'm using DevC to try my hand at module development. I'm not much of a "C" programmer, but I'll eventually get it working. When I get it completed, I'll post the source here for your amusement. (by amusement, I mean you'll be able to laugh at my poor code! ;D )
Randall
Re: GCC module example: very very simple expression evaluator
ah, ah, ah. I've already started laughing.
From the question you have done here about inside of variable storage and other posts, I'm pretty sure you know C much better than me. That is sure!
In any case you source code will be a present for all of us. So thanks in advance.
Eros