| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Nice because we're now checking the output for success/failure
automatically rather than by eye.
|
|
|
|
|
|
|
|
|
| |
Until now we faked local variables -- they only worked correctly if
there was no overlap between local variables and global variables.
Use a symbol table stack instead of a string list.
Fix bug with looking up undefined symbols.
|
|
|
|
|
|
|
|
|
|
| |
Set execute permission on code before running it.
Handle negative relative offsets for global variables.
Add printfs to report the progress of nested compiles.
Change way we detect whether we can run the host compiler
or not. We used to check if we were running on a 32-bit
Linux. Now we check if the executable is a 32-bit Linux
executable.
|
|
|
|
| |
Don't run the code we've compiled unless the -R option is present.
|
|
|
|
|
|
|
| |
main(argc, argv) --> int main(int argc, char** argv)
Although we accept int, void, and char types, and pointers to same,
we actually still treat everything as an int.
|
|
|
|
|
| |
Report unsupported/unknown preprocessor directives.
Report line number of error rather than character offset.
|
|
Document internal CodeGenerator interface
Move license to a separate license file.
Define a public API for calling libacc.
Update the "acc" test program to use the public API.
Move "main.cpp" and test scripts into the tests subdirectory.
Move test data from tests to tests/data
Remove stale test data.
|