plum-umd / the-838e-compiler

Compiler for CMSC 838E
2 stars 0 forks source link

Library feature #24

Closed minghui-liu closed 3 years ago

minghui-liu commented 3 years ago

Hi. This is my implementation of the libraries feature. Suggestions are welcome.

Here is brief summary of changes:

Two files, length.rkt and use-le.rkt were included to demo the feature.

make length.o
make use-len.o
ld -r main.o char.o io.o length.o -o runtime.o
gcc runtime.o use-len.o -o use-len
./use-len

Some drawbacks of this implementation:

minghui-liu commented 3 years ago

Closed because #35 was merged.