moshell
moshell copied to clipboard
A typed shell script language, with modern syntax implemented in Rust™
While some code is in the `msh` namespace, some older code isn't. It would be great to uniformize that. This would also drastically reduce the chance of a function name...
support force operator (`!`) examples : ``` use $ENV_VARIABLE val str: String = $ENV_VARIABLE! val str: String = $1! ```
Diagnostics are contextualized errors, that point the relevant code spans. `Observation::here` is important, probably as important as giving where the declaration happened. When an immutable variable is reassigned twice for...
The virtual machine loads and resolves external variables once the bytecode is fully loaded. It ensures that all symbols exists before executing the program and avoids a string lookup at...
With the experience of a first version, the time has come to build a more resilient code analyzer that would welcome new features along the way. Most notably, the analyzer...