philomath

所属分类:内容生成
开发工具:GO
文件大小:53KB
下载次数:0
上传日期:2018-06-10 16:58:03
上 传 者sh-1993
说明:  一个玩具语言实现学习玩编程语言设计,编译器架构,字节码生成器...
(A toy language implementation to learn/play-with programming language design, compiler architectures, byte code generation, virtual machines and byte code interpretation, byte-code to assembly conversion, and optimizing compiler techniques.)

文件列表:
Implementation.md (1725, 2018-06-11)
code (0, 2018-06-11)
code\ast (0, 2018-06-11)
code\ast\ast.go (15255, 2018-06-11)
code\ast\ast_test.go (779, 2018-06-11)
code\ast\operators.go (1404, 2018-06-11)
code\bytecode (0, 2018-06-11)
code\bytecode\bytecode.go (14749, 2018-06-11)
code\bytecode\bytecode_test.go (11769, 2018-06-11)
code\interpreter (0, 2018-06-11)
code\interpreter\assembler.go (9348, 2018-06-11)
code\interpreter\assembler_darwin.go (213, 2018-06-11)
code\interpreter\assembler_linux.go (263, 2018-06-11)
code\interpreter\assembler_test.go (645, 2018-06-11)
code\interpreter\interpreter.go (6739, 2018-06-11)
code\interpreter\interpreter_test.go (4396, 2018-06-11)
code\parser (0, 2018-06-11)
code\parser\assembly.go (2041, 2018-06-11)
code\parser\assembly_test.go (1757, 2018-06-11)
code\parser\parser.go (16922, 2018-06-11)
code\parser\parser_test.go (7652, 2018-06-11)
code\scanner (0, 2018-06-11)
code\scanner\scanner.go (12462, 2018-06-11)
code\scanner\scanner_test.go (22658, 2018-06-11)
code\semantics (0, 2018-06-11)
code\semantics\inference.go (9433, 2018-06-11)
code\semantics\inference_test.go (11047, 2018-06-11)
code\semantics\resolution.go (1470, 2018-06-11)
code\semantics\section.go (3323, 2018-06-11)
code\semantics\section_test.go (2110, 2018-06-11)
code\semantics\typecheck.go (674, 2018-06-11)
code\token (0, 2018-06-11)
code\token\token.go (3169, 2018-06-11)
code\token\token_test.go (4877, 2018-06-11)
code\utils (0, 2018-06-11)
code\utils\assert.go (1948, 2018-06-11)
examples (0, 2018-06-11)
... ...

Phi (.) - Philomath ---------------------- Phi is a toy programming language that was built to teach myself more about compiler architecture, byte-code generation, virtual machines, assembly, and optimizing-compiler techniques. The code architecture is briefly described in the [implementation](https://github.com/kestred/philomath/blob/master/Implementation.md) doc. ### What does it do? Phi was intended as both an interpreted and compiled language, but only the interperter was implemented. See the [example](https://github.com/kestred/philomath/blob/master/examples/example1.phi) which demonstrates (most of?) the functionality that was implemented: - Basic conditional control flow - Basic procedure/function invocation - Inline GNU Assembly code with JIT execution - __(a.k.a.)__ a humorous substitute for a missing standard library ; perhapy the only __cool__ () language feature. ### Public Domain To the extent possible under law, I waive all copyright and related or neighboring rights to Philomath. ![Public Domain](https://github.com/kestred/philomath/blob/master/http://i.creativecommons.org/p/zero/1.0/88x31.png)

近期下载者

相关文件


收藏者