1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2026-03-13 08:41:53 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
David Schmenk
08db20753b Add line continuation to compiler lexer 2025-01-14 09:28:31 -08:00
Steven Flintham
374d2465b6 Add -S option to plasm to output to stdout 2023-01-15 22:30:53 +00:00
David Schmenk
f5b2db78a3 Allow importing self 2023-01-14 12:20:16 -08:00
Steven Flintham
75d5266fba Expose longer sequences to the optimiser
emit_seq() no longer emits directly but adds the sequence to a pending
sequence, which we emit only when necessary (e.g. when we're about to
emit a branch target, or when the parser is about to emit an opcode
directly).

This exposes more opportunities to the optimiser - in particular, the
earlier commit which taught the optimiser how to change things like
"SLW [n]:LLW [n]" to "DLW [n]" now gets a chance to kick in where one
statement updates a variable and the following statement uses the
updated value.
2017-07-28 23:09:26 +01:00
dschmenk
b19956b3ba On the road to 1.0 2017-05-31 18:31:04 -07:00