├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE.txt ├── README.md ├── assets └── logo.webp ├── example.clla ├── src ├── lexer.rs ├── main.rs ├── parser.rs └── semantic_analyzer │ ├── mod.rs │ ├── resolver.rs │ └── type_checker.rs └── tamago ├── Cargo.toml ├── LICENSE.txt ├── README.md ├── src ├── block.rs ├── comment.rs ├── conditional.rs ├── enums.rs ├── expr.rs ├── formatter.rs ├── function.rs ├── lib.rs ├── loops.rs ├── preprocessor.rs ├── scope.rs ├── structs.rs ├── typedef.rs ├── types.rs ├── union.rs └── variable.rs └── tamacro ├── Cargo.toml ├── README.md └── src └── lib.rs /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/README.md -------------------------------------------------------------------------------- /assets/logo.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/assets/logo.webp -------------------------------------------------------------------------------- /example.clla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/example.clla -------------------------------------------------------------------------------- /src/lexer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/src/lexer.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/src/parser.rs -------------------------------------------------------------------------------- /src/semantic_analyzer/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/src/semantic_analyzer/mod.rs -------------------------------------------------------------------------------- /src/semantic_analyzer/resolver.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/src/semantic_analyzer/resolver.rs -------------------------------------------------------------------------------- /src/semantic_analyzer/type_checker.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/src/semantic_analyzer/type_checker.rs -------------------------------------------------------------------------------- /tamago/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/Cargo.toml -------------------------------------------------------------------------------- /tamago/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/LICENSE.txt -------------------------------------------------------------------------------- /tamago/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/README.md -------------------------------------------------------------------------------- /tamago/src/block.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/block.rs -------------------------------------------------------------------------------- /tamago/src/comment.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/comment.rs -------------------------------------------------------------------------------- /tamago/src/conditional.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/conditional.rs -------------------------------------------------------------------------------- /tamago/src/enums.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/enums.rs -------------------------------------------------------------------------------- /tamago/src/expr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/expr.rs -------------------------------------------------------------------------------- /tamago/src/formatter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/formatter.rs -------------------------------------------------------------------------------- /tamago/src/function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/function.rs -------------------------------------------------------------------------------- /tamago/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/lib.rs -------------------------------------------------------------------------------- /tamago/src/loops.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/loops.rs -------------------------------------------------------------------------------- /tamago/src/preprocessor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/preprocessor.rs -------------------------------------------------------------------------------- /tamago/src/scope.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/scope.rs -------------------------------------------------------------------------------- /tamago/src/structs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/structs.rs -------------------------------------------------------------------------------- /tamago/src/typedef.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/typedef.rs -------------------------------------------------------------------------------- /tamago/src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/types.rs -------------------------------------------------------------------------------- /tamago/src/union.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/union.rs -------------------------------------------------------------------------------- /tamago/src/variable.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/src/variable.rs -------------------------------------------------------------------------------- /tamago/tamacro/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/tamacro/Cargo.toml -------------------------------------------------------------------------------- /tamago/tamacro/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/tamacro/README.md -------------------------------------------------------------------------------- /tamago/tamacro/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bichanna/castella/HEAD/tamago/tamacro/src/lib.rs --------------------------------------------------------------------------------