russel
所属分类:编程语言基础
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-03-18 21:54:08
上 传 者:
sh-1993
说明: 一种编程语言
(A programming language)
文件列表:
CHANGELOG.md (931, 2023-03-18)
LICENSE (35150, 2023-03-18)
cmd/ (0, 2023-03-18)
cmd/russel/ (0, 2023-03-18)
cmd/russel/main.go (2954, 2023-03-18)
editors/ (0, 2023-03-18)
editors/micro/ (0, 2023-03-18)
editors/micro/rsl.yaml (1050, 2023-03-18)
go.mod (276, 2023-03-18)
go.sum (476, 2023-03-18)
internal/ (0, 2023-03-18)
internal/compiler/ (0, 2023-03-18)
internal/compiler/compiler.go (12691, 2023-03-18)
internal/compiler/intrinsics.go (999, 2023-03-18)
internal/config/ (0, 2023-03-18)
internal/config/config.go (345, 2023-03-18)
internal/lexer/ (0, 2023-03-18)
internal/lexer/lexer.go (6446, 2023-03-18)
internal/node/ (0, 2023-03-18)
internal/node/expr.go (1293, 2023-03-18)
internal/node/node.go (231, 2023-03-18)
internal/node/stmt.go (4461, 2023-03-18)
internal/parser/ (0, 2023-03-18)
internal/parser/parser.go (7529, 2023-03-18)
internal/token/ (0, 2023-03-18)
internal/token/token.go (2407, 2023-03-18)
internal/value/ (0, 2023-03-18)
internal/value/value.go (282, 2023-03-18)
makefile (590, 2023-03-18)
res/ (0, 2023-03-18)
res/icon.png (1223723, 2023-03-18)
res/logo.png (461827, 2023-03-18)
res/thumbnail.png (2950933, 2023-03-18)
tests/ (0, 2023-03-18)
tests/bool.rsl (46, 2023-03-18)
tests/break.rsl (242, 2023-03-18)
tests/errors.rsl (42, 2023-03-18)
... ...
### !WARNING!
This is a VERY unfinished language, so expect bugs, many missing features, ugly internal code (im
not responsible for eye damage after the sight), changing syntax and more.
A statically typed programming language compiled to the
[AVM virtual machine](https://github.com/avm-collection/avm) bytecode
## Table of contents
* [Quickstart](#quickstart)
* [Milestones](#milestones)
* [Editors](#editors)
* [Documentation](#documentation)
* [Bugs](#bugs)
* [Make](#make)
## Quickstart
```sh
$ make
$ make install
$ russel -h
```
See [the `./examples` folder](./examples) for example programs. Note that these examples probably
cant be compiled by the current russel compiler, because its not finished yet. Instead, you can
compile programs in [the `./tests` folder](./tests) with
```sh
$ make tests
```
## Milestones
- [X] Lexer
- [X] Parser
- [X] Functions
- [X] If statements
- [ ] Variables
- [X] Loops
- [X] Compile directly to bytecode
- [ ] Type checking
- [ ] Structures
- [ ] Modules
- [ ] Self hosted
## Editors
Syntax highlighting configs for text editors are in the [`./editors`](./editors) folder
## Documentation
(not) Hosted [here](https://avm-collection.github.io/russel/documentation)
## Bugs
If you find any bugs, please create an issue and report them.
## Make
Run `make all` to see all the make rules.
近期下载者:
相关文件:
收藏者: