1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-11 00:52:44 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Joel Martin
2866f9a885 plsql: add dockerfile. Lots of cleanup/renaming. 2016-05-22 00:16:02 -06:00
Joel Martin
02936b429a plsql: self-hosting. Long strings, refactor io. 2016-05-22 00:16:02 -06:00
Joel Martin
10cc781f71 plsql: stepA basics. Fix step6 argument processing. 2016-05-22 00:16:01 -06:00
Joel Martin
150011e4b6 plsql: add step9 basics. Refactor arg list passing. 2016-05-22 00:16:01 -06:00
Joel Martin
0fc0391825 plsql: refactor with memory pool. step5,7,8 basics.
Ran into the same problem with macroexpand that prevented TCO in
step5. Apparently objects as parameters cannot be re-assigning (or
copied and re-assigned even) in a loop. When trying to do so, the
server process crashes with a memory error.

Move away from try to allocate and pass full structures around.
Instead pass integer references into a memory pool of the objects
(nested table of mal objects) and then pass this memory pool around by
reference. Passing the memory pool around all over the place is ugly,
but it allows TCO and macroexpand to work at all and seems to have
better performance anyways.
2016-05-22 00:16:01 -06:00
Joel Martin
9fc524f1c8 plsql: step4 basics. 2016-05-22 00:16:01 -06:00
Joel Martin
7836cfa36b plsql: step2,3 basics. 2016-05-22 00:16:01 -06:00