slate

所属分类:collect
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2021-10-25 00:41:18
上 传 者sh-1993
说明:  一种实验性编程语言。,
(An experimental programming language.,)

文件列表:
LICENSE (1650, 2021-10-24)
go.mod (144, 2021-10-24)
go.sum (5353, 2021-10-24)
main.go (972, 2021-10-24)
notes/ (0, 2021-10-24)
notes/architectures.txt (823, 2021-10-24)
notes/errno.md (830, 2021-10-24)
notes/go-dist-list.md (546, 2021-10-24)
notes/golang-pkg.txt (1471, 2021-10-24)
notes/linux-syscall-args.txt (1611, 2021-10-24)
notes/linux-syscallconv.txt (1818, 2021-10-24)
notes/llvm-archs.md (1525, 2021-10-24)
notes/llvm-cpus-features.md (17788, 2021-10-24)
notes/sys.txt (2260, 2021-10-24)
notes/syscall-ids.txt (1128, 2021-10-24)
notes/syscalls.txt (339, 2021-10-24)
pgk/ (0, 2021-10-24)
pgk/lex/ (0, 2021-10-24)
pgk/lex/file.go (2194, 2021-10-24)
pgk/lex/lexer.go (2001, 2021-10-24)
pgk/lex/token.go (1376, 2021-10-24)
pgk/lex/try.go (302, 2021-10-24)
pgk/parse/ (0, 2021-10-24)
pgk/parse/ast/ (0, 2021-10-24)
pgk/parse/ast/arg.go (79, 2021-10-24)
pgk/parse/ast/asm.go (801, 2021-10-24)
pgk/parse/ast/block.go (547, 2021-10-24)
pgk/parse/ast/func_call.go (2828, 2021-10-24)
pgk/parse/ast/func_decl.go (1210, 2021-10-24)
pgk/parse/ast/node.go (335, 2021-10-24)
pgk/parse/ast/program.go (2210, 2021-10-24)
pgk/parse/ast/ref.go (156, 2021-10-24)
pgk/parse/ast/variable.go (2194, 2021-10-24)
pgk/parse/llvm/ (0, 2021-10-24)
... ...

# Slate ![loc](https://sloc.xyz/github/nektro/slate) [![discord](https://img.shields.io/discord/551971034593755159.svg?logo=discord)](https://discord.gg/P6Y4zQC) [![goreportcard](https://goreportcard.com/badge/github.com/nektro/slate)](https://goreportcard.com/report/github.com/nektro/slate) A new programming language made by me. Used as a tool to learn about compilers. > Note: some code snippets and examples may only work on x64 Linux since that's what I have. ## Built With - Golang 1.14 - LLVM 12 - https://github.com/llir/llvm - https://github.com/nektro/go-util ## Usage Running `./start_local.sh` will build and run Slate on the x64 Linux Hello World. Feel free to edit either file. ``` go build ./slate -run {path/to/src_file.slate} llvm-as-12 out.ll lli-12 out.bc ``` More code examples can be found in the [`./tests/`](./tests/) directory. ## Inspirations - https://github.com/golang/go - https://github.com/ziglang/zig - https://github.com/denoland/deno - https://github.com/rust-lang/rust - https://www.haskell.org/ - https://www.roc-lang.org/ ## Contributing Issues welcome. As the project progresses I will make a list of focus areas. In regards to pull requests, I appreciate the enthusiasm but at this stage I will be more hesitant than normal about what gets merged from other people. This project is largely an experiment and learning environment for me, so please keep that in mind. ## Contact - hello@nektro.net - https://twitter.com/nektro ## License ACSL v1.4. See [LICENSE](LICENSE) for more info.

近期下载者

相关文件


收藏者