shingarov / Pharo-ArchC

Generate binutils from formal spec
MIT License
4 stars 1 forks source link

Generate DSL assembler methods upon first use #19

Closed janvrany closed 2 years ago

janvrany commented 2 years ago

This solves three problems:

(i) spares users to think of it and doing it manually (ii) avoids generating assemblers which will never be used. (iii) makes it debuggable if there's an error since this will be called once all the code is loaded (as opposed to "at some undefined time during package loading").