PDA

View Full Version : GCC module example: very very simple expression evaluator



ErosOlmi
14-09-2007, 17:39
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

kryton9
14-09-2007, 22:36
THanks for the example Eros!

Michael Hartlef
15-09-2007, 08:16
Thanks Eros, that is good to have another freeware language to create modules for thinBasic.

Randall
15-09-2007, 21:14
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

ErosOlmi
15-09-2007, 21:30
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