The last chapter gave an idea of where ZL is now, this chapter will give an idea of where I see ZL heading.
In addition to supporting C and C++ syntax, support ZL specific syntax. The ZL specific syntax will be like C but provide more sane syntax for declaration for example:
Also when in ZL mode all code will be put into a module by default so that functions (and likely types) don’t need to be declared before they are used.
Extend User Types be able to support algebraic data type, which includes support for pattern matching cases. There is a lot of overlap between classes and algebraic data types and I intend to unify the two concepts.
Once algebraic data types are implemented, work on rewriting the ZL compiler in ZL itself. The ZL compiler uses a lot of advanced C++ features that won’t be implemented it ZL yet; however, it is my hope that with the combination of advanced macros and algebraic data types I will be able to find alternative—and maybe even better—means of archiving the same goal.
Converted From LaTeX using TeX4ht. PDF Version