VioletScript is a very fast version of JavaScript with a satisfactory type system and extensive syntax.
This is the compiler implemented in .NET. Currently it does not generate any code; code generation will be worked on anytime, among other things. You can currently use it to type check.
- Debug type checker with
dotnet run -- someScript
- To Do
VioletScript uses the extension .vs
, which is automatically added.
violetc index
- Extending or implementing a generic type before it's defined may cause a .NET exception due to how the compiler resolves types. In the moment just define them in an order that makes sense.
- Type arguments are not inferred (
C.<T>
vsC
orfn.<T>()
vsfn()
).
VioletScript and this compiler belong to @hydroper.