Commits
Commit:
3f3c8a7416bb0d7acad090af3d991daa5e6294f9
Author:
Omar Polo <op@omarpolo.com>
Date:
Wed Nov 11 18:37:21 2020 UTC
fix log format for optimizations
Commit:
aeff226da3ac1e85730a4db3ea0c062fda00af04
Author:
Omar Polo <op@omarpolo.com>
Date:
Wed Nov 11 16:14:54 2020 UTC
add some examples
Commit:
72a89147262b946ba680b34336eba42e1c58cf20
Author:
Omar Polo <op@omarpolo.com>
Date:
Sun Nov 8 12:59:04 2020 UTC
switch to Plan9’ libfmt for output

it’s so cool and it allows to define custom formatter verbs. So, for
instance, now we have %L to print a transformation of a lisp symbol,
%A to print an atom (it’s recursive!), %V to print our pseudo-assembly
and %P to print the stacktrace of the parser.
Commit:
9d535fdad7a1d2a6641508342d3199f25d905f61
Author:
Omar Polo <op@omarpolo.com>
Date:
Sun Nov 8 11:28:23 2020 UTC
unnecessary cheating
Commit:
c1336ab669bbc14a13a57e1881751f312eabd672
Author:
Omar Polo <op@omarpolo.com>
Date:
Sun Nov 8 11:28:04 2020 UTC
defsubst is here
Commit:
e780d2f9f62c828b8e9d164a91765e63e935eb4d
Author:
Omar Polo <op@omarpolo.com>
Date:
Sat Nov 7 15:22:05 2020 UTC
defconst is here.

defconst works by recording the value associated with a constant and
then replacing every instance of that constant with the given value.

This required for the various optimizer_* functions to take an extra
parameter, the compiler.
Commit:
84276f23585932c8670ebcb3c6faf8e3152b1407
Author:
Omar Polo <op@omarpolo.com>
Date:
Sat Nov 7 15:19:48 2020 UTC
typo
Commit:
3940416ffc71682e9900cfb0b807af952cd8ebaa
Author:
Omar Polo <op@omarpolo.com>
Date:
Tue Nov 3 13:37:33 2020 UTC
defparameter is here

added support for global variables. That required a change in how
defuns are used: before there was a DEFUN VOP, now it’s been renamed
LABEL and added a “global” modifier (so we can “export” functions and
stuff). It was also needed a way to load those variables.
Commit:
9732a04f177d89b283a0380a39a4d32c435c9344
Author:
Omar Polo <op@omarpolo.com>
Date:
Fri Oct 30 08:09:40 2020 UTC
add support for optimisation and two simple optimising functions
Commit:
929fb9088c9fa56d1fca4a2d00a75c7fffedcdee
Author:
Omar Polo <op@omarpolo.com>
Date:
Fri Oct 30 08:09:40 2020 UTC
allow an expression made by a single number to compile
Commit:
10d80812225b593d8cc3d361137741d9d80c1a35
Author:
Omar Polo <op@omarpolo.com>
Date:
Fri Oct 30 08:09:34 2020 UTC
build (if possible) the TAGS file
Commit:
b02e1c2705b2095075bda8179e514dc5a80a9d74
Author:
Omar Polo <op@omarpolo.com>
Date:
Thu Oct 29 20:37:39 2020 UTC
DCE
Commit:
0910ced7f7688202f0095cbb1c9ab2992ff37af7
Author:
Omar Polo <op@omarpolo.com>
Date:
Thu Oct 29 20:37:39 2020 UTC
log both the read form and the internal assembly (eventually)
Commit:
a98b51c3918aa13233ef3ab428691fc5c2c5424a
Author:
Omar Polo <op@omarpolo.com>
Date:
Thu Oct 29 20:37:39 2020 UTC
fprint_atom added
Commit:
1ee523aa6552ed50171a1475cf85501a0674ddd5
Author:
Omar Polo <op@omarpolo.com>
Date:
Thu Oct 29 20:37:38 2020 UTC
fix generated assembly syntax

apparently, comments are with // and not @, and literal numbers are
without any sigil (i.e. they don’t require the # before)
Omar Polo