Skip to content

Xie-Jason/GloomScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GloomScript

本项目正在开发当中 | This project still under development

About

本项目是GloomScript语言的解释器实现,解释器前端包含手动实现的 lexer、parser 和 analyzer 以及 bytecode-compiler,其后端是一个字节码解释器。 最近,本项目会添加异步运行时、协程 以及一些标准库。

This project is an interpreter implementation of GloomScript in Rust, which has a manually implemented frontend consist of lexer parser analyzer and bytecode-compiler with a bytecode interpreter in backend. recently, this project will add async-runtime coroutine and some standard lib

Hello World

下载项目,编译 | download project, compile

新建 hello.gs 文件,并写入如下代码 | Create hello.gs, type code:

println("hello GloomScript")

在控制台当前目录输入如下指令 | type command like this

cargo run run hello.gs

结果应当如下 | the result :

hello GloomScript

GloomScript language

GloomScript 是一个多编程范式、强类型检查、静态类型、基于表达式的脚本语言。

GloomScript语言文档

这个目录有一些用于测试和示例的GloomScript代码: /gloom 如果项目处于稳定阶段,那么其中出现的代码应当是解释器可执行的。

GloomScript is a expression-based script language with multi normal form and static type system.

This directory has some files that used to test and example: /gloom. All codes in this directory are supported yet by the interpreter if the project is stable.

Contribution

本项目欢迎各位的贡献,你可以阅读这个文件来获取基础的开发信息 /doc/dev.md

This project welcome contributions, you could read this file to get some basic information of development /doc/dev.md

About

GloomScript Interpreter implemented in Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages