hsl

所属分类:其他
开发工具:kotlin
文件大小:0KB
下载次数:0
上传日期:2024-03-22 20:52:44
上 传 者sh-1993
说明:  用于Hypixel Housing操作的编程语言。
(A programming language for Hypixel Housing actions.)

文件列表:
compiler/
docs/
std/
LICENSE.txt
build.gradle.kts
gradle.properties
gradlew
gradlew.bat
settings.gradle.kts
test.hsl

# HSL 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. ## Table of contents - [Installation](https://github.com/sndyx/hsl/blob/master/#installation) - [Language Documentation](https://github.com/sndyx/hsl/blob/master/#language-documentation) - [Compiler](https://github.com/sndyx/hsl/blob/master/#compiler) - [Developers](https://github.com/sndyx/hsl/blob/master/#developers) - [Compiler](https://github.com/sndyx/hsl/blob/master/#hsc-housing-script-compiler) - [Compiling](https://github.com/sndyx/hsl/blob/master/#compiling) - [Standard Library](https://github.com/sndyx/hsl/blob/master/#standard-library) - [Credits](https://github.com/sndyx/hsl/blob/master/#credits) - [License](https://github.com/sndyx/hsl/blob/master/#license) ## Installation TODO ## Language Documentation Documentation can be found [here](https://github.com/sndyx/hsl/blob/master//docs/introduction.md). ## Compiler TODO ## Developers This repository is divided into a few major sections. ### HSC (Housing Script Compiler) 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.compiler.codegen`, desugaring and validating the AST. Finally, the AST is converted to Actions via a single `AstToActionTransformer` pass. #### Compiling Compile the compiler with gradle: `./gradlew compiler:build` ### Standard Library 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. # Credits This project is only possible due to the hard work put in by members of the Housing community! Special thanks to HousingEditor and [HousingDevs](https://github.com/sndyx/hsl/blob/master/https://github.com/housingdevs) for the well-established foundations and action schemas. # License HSL is distributed under the terms of the MIT license. See [LICENSE.txt](https://github.com/sndyx/hsl/blob/master/LICENSE.txt) for the full license.

近期下载者

相关文件


收藏者