Third-party compilation targets
Code generation is based on concept of Nice Nodes. This technology would be improved over time.
Note: it’s currently impossible to add targets dynamically to the compiler, you have to modify compiler code. Places of modification:
Feel free to create pull requests for new targets!
‘Universal’ targets always lack features and performance, and much harder to develop, test and maintain.
[Normalizer] will lower target users code, so even if your generator supports only basics, most of the Hexa will work anyway. For example, most nested functions are converted to global ones, so your may show error message “this function cannot be lowered to global one, nested functions are not supported” if your target don’t support them (or you don’t implement them for performance or any reasons), but have most of the “normal” code still work unmodified (like third-party libraries).