|Simple compiler hashing/tabling... email@example.com (Matthew Webb) (1998-08-19)|
|From:||Matthew Webb <firstname.lastname@example.org>|
|Date:||19 Aug 1998 16:20:20 -0400|
I wondered if people could help me write a simple 'compiler' that
only understands "#define" and then a string of a-z, A-Z, 0-9 and _. All
it does is scan throught the blanks untill it reaches a command, only
"#define" at this time and then reads i the lable and value, the value
is just one byte, and the lable no more than 32 chars.
Will anyone be able to help, I think this is simple to write, I wrote a
almost compleat version but wondered if some other people could as well.
I will see what the response is and if not much then I will post my code
for people to chnage ...
Matthew Webb - London - Creator of alt.os.assembly and alt.os.development
[Please reply directly to him. -John]
Return to the
Search the comp.compilers archives again.