1 Well, this is it. I had wanted to fix a few more bugs, but decided to
2 wait no longer. Don't expect anything to work :)
4 The makefile in the src directory is set up to make a program called
5 debug that I use to test the compiler and interpreter. "debug foo" will
6 chdir to the lpc subdirectory and attempt to load foo.c. After that,
7 you type the name of a function and it will be called -- hopefully. I
8 made two debug functions in the auto object that are always included,
9 dump_object() to show statistics on the current object, and dump_function()
10 to disassemble the function foo() in the current object.
12 Each subdirectory has a makefile geared to create an a.out program that
13 can do some testing. Look at comp/comp.c, lex/lex.c etc for details. A
14 warning: I never bother to do argument checking in test programs, and
15 if you don't supply the currect ones you'll get a coredump.
17 Regards, Dworkin
This page was automatically generated by the
Visit the LXR main site for more