- Improvements:
- Add a warning if a
switch
does not match all variants of an enum. - Add a verify error if a native class doesn't specify its
memorySize
. - Address what are "native" classes.
native
methods exist, but wouldn't it make sense to add thenative
modifier to a class too?- Idea: if a class contains any
native
method, getter or setter, it is native (do that check directly on the parser and mark it asnative
if any); if a class contains thenative
modifier, it is native. It should be easy to allow thisnative
modifier! In that case, document it too.
- Idea: if a class contains any
- Add a warning if a
- Planning basic standard objects:
- Reflect (finishing type meta-objects)
- Math
- Observable
- VioletDoc HTML generated docs
- Use Markdig for compiling the Markdown: https://github.com/xoofx/markdig
- Standard objects implementation in a systems language
- Update
FFI(typeId)
of most native classes (0 and 1 are already used forundefined
andnull
), includingObject
, primitives and most things. - Update
FFI(memorySize)
of all standard object classes (whetherfinal
or not). It will be usually 8 (pointer expressed asu64
, that refers to a RustBox
).- Object
- Everything else
- Update
- Compile to .wasm
Future goals:
- Bindings Generation
- Package Manager
- Language Server Protocol
- Use with Godot Engine
WebAssembly.