Hey,
Thanks for the responses :).
To give a little background; I was actually working on something else
for the MSX, but then spoiled as I am with modern languages and silly
things like block scopes and properties and types, I got a bit
frustrated with the assembler and started to work on Glass :).
For the first version I focused on getting it on par with other
assemblers in terms of features, so that I could replace my current
assembler on the afore mentioned project. It supports regular and
repetition macros, and block scopes. A little more advanced feature is
that you can reference into scopes by using the dot (.).
I hope to add more advanced features in the future. Some ideas are
extending macros to make them more useful for class definitions,
multi-compiling methods (er, procedures), static analysis, automatic
optimisations, debug output with timing information… Also, the ability
to pass registers into macros so I can make one for “ld ix,de”, perhaps
like this: MACRO r1, r2 / ld r1.lsb, r2.lsb / ld r1.msb, r2.msb / ENDM.
@Patriek I was considering Haskell… :) It would be well suited for
Glass, and I would love the multiple dispatch and tail call
optimisation. But given my limited experience with the language, it
would’ve probably taken me 2 months in stead of 2 weeks to get where I’m
at now. And knowing my attention span… ;p
~Laurens
Laurens Holst schreef op 02-01-14 15:58:
Fellows,
I have created a Z80 assembler. It is called Glass. It is
cross-platform (Java 7).
The project site:
https://bitbucket.org/grauw/glass
~Laurens
_______________________________________________
MSX mailing list ([email protected])
Info page: http://lists.stack.nl/mailman/listinfo/msx
_______________________________________________
MSX mailing list ([email protected])
Info page: http://lists.stack.nl/mailman/listinfo/msx