anasm
所属分类:collect
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-03-18 20:04:53
上 传 者:
sh-1993
说明: avm虚拟机的汇编程序,
(An assembler for the avm virtual machine,)
文件列表:
CHANGELOG.md (2268, 2023-03-18)
LICENSE (35150, 2023-03-18)
cmd/ (0, 2023-03-18)
cmd/anasm/ (0, 2023-03-18)
cmd/anasm/main.go (2885, 2023-03-18)
editors/ (0, 2023-03-18)
editors/micro/ (0, 2023-03-18)
editors/micro/anasm.yaml (1375, 2023-03-18)
editors/nano/ (0, 2023-03-18)
editors/nano/anasm.nanorc (938, 2023-03-18)
examples/ (0, 2023-03-18)
examples/embed_include.anasm (96, 2023-03-18)
examples/exitcode.anasm (212, 2023-03-18)
examples/file_io.anasm (1195, 2023-03-18)
examples/hello_world.anasm (268, 2023-03-18)
examples/std.anasm (82, 2023-03-18)
go.mod (222, 2023-03-18)
go.sum (476, 2023-03-18)
internal/ (0, 2023-03-18)
internal/compiler/ (0, 2023-03-18)
internal/compiler/compiler.go (6119, 2023-03-18)
internal/compiler/inst.go (2059, 2023-03-18)
internal/config/ (0, 2023-03-18)
internal/config/config.go (161, 2023-03-18)
internal/disasm/ (0, 2023-03-18)
internal/disasm/disasm.go (4567, 2023-03-18)
internal/lexer/ (0, 2023-03-18)
internal/lexer/lexer.go (7703, 2023-03-18)
internal/node/ (0, 2023-03-18)
internal/node/expr.go (1976, 2023-03-18)
internal/node/node.go (226, 2023-03-18)
internal/node/statement.go (1750, 2023-03-18)
internal/parser/ (0, 2023-03-18)
internal/parser/parser.go (7176, 2023-03-18)
internal/token/ (0, 2023-03-18)
internal/token/token.go (3066, 2023-03-18)
makefile (278, 2023-03-18)
res/ (0, 2023-03-18)
... ...
An assembler for the [AVM virtual machine](https://github.com/avm-collection/avm) written in Go
## Table of contents
* [Quickstart](#quickstart)
* [Milestones](#milestones)
* [Editors](#editors)
* [Documentation](#documentation)
* [Bugs](#bugs)
* [Make](#make)
## Quickstart
```sh
$ make
$ make install
$ anasm ./examples/fib.anasm
$ ./fib
```
`anasm ./examples/fib.anasm` compiles the fibonacci sequence example into an AVM binary `./fib`.
See [the `./examples` folder](./examples) for example programs
## Milestones
- [X] Lexer
- [X] Compiling basic instructions
- [X] Labels
- [X] Instruction argument safety
- [X] Macros
## Editors
Syntax highlighting configs for text editors are in the [`./editors`](./editors) folder
## Documentation
Hosted [here](https://avm-collection.github.io/anasm/documentation)
## Bugs
If you find any bugs, please create an issue and report them.
## Make
Run `make all` to see all the make rules.
近期下载者:
相关文件:
收藏者: