quarkiverse / quarkus-bon-jova-rockstar

An implementation of Rockstar as a JVM language
https://codewithrockstar.com/
3 stars 2 forks source link

Cleaner 'nothing' and 'mysterious' support #98

Closed holly-cummins closed 8 months ago

holly-cummins commented 9 months ago

We should refactor the compiler to introduce a class for Nothing; this can be a marker to distinguish nothing from mysterious, which would improve mysterious support. Isolating all the checks and coercion associated with nothing into its own class would also make the bytecode cleaner and more concise.