HSL (Housing Scripting Language) is a programming language that provides a near 1:1 mapping of housing actions while also maintaining many optional abstractions and syntax sugar.
You can download the latest release executables here.
Now, just add both to the PATH variable.
Documentation can be found here.
This repository is divided into a few major sections.
The compiler is located in the compiler directory. The main entry point
for the compiler is Driver.kt. The lexer and parser are both located in
the com.hsc.compiler.parse namespace. The resultant AST (defined in
com.hsc.compiler.ir along with the Action IR) is then lowered through
a series of passes in com.hsc.lowering.passes, desugaring and validating
the AST. Finally, the AST is converted to Actions via ActionTransformer
Compile the compiler with gradle: ./gradlew compiler:build
Mason is located in the mason directory. It is an experimental build
tool for HSC that enables easy management of dependencies and compiler
options. For dependencies, git is executed directly.
The standard library is located in the std directory. It is designed to
be a minimal companion to the built-in functions provided by Housing.
This project is only possible due to the hard work put in by members of the Housing community!
Special thanks to HousingEditor and HousingDevs for the well-established foundations and action schemas.
HSC, Mason are distributed under the terms of the MIT license. See LICENSE.txt for the full license.