2.0
Release Notes
Spaghetti has been reworked quite a bit for this release. It should be much simpler and more versatile than before.
Major changes:
- New command-line tool
- Support for both AMD and CommonJS packaging, modules are stored in a packaging-agnostic format
- Constant values are now specified in the module definition, and can only have primitive values
- Only directly dependent modules' methods are accessible from a module (defined types, enums and constants are available transitively)
- Lots of documentation
- Cleaned up the process of creating modules and packaging them into applications
struct
s can have methods
Minor additions:
- Module bundles can be a directory or a ZIP (similar to how Java handles JARs)
- The new
processSpaghettiResources
task works likeprocessResources
in JVM plugins - ANTLR lexer syntax errors are now reported with the location they happened in, and they fail the build