├── .github └── workflows │ └── nightly.yml ├── .gitignore ├── Cargo.toml ├── LICENCE ├── README.md ├── TODO.md ├── src ├── ast.rs ├── lexer.rs ├── lib.rs ├── main.rs ├── parse.rs ├── seperation.rs └── typecheck.rs └── tests └── amy ├── parse ├── test.amy └── testy.amy ├── seperation └── basic.amy └── typecheck ├── calls.amy ├── calls.err.amy ├── dup.err.amy ├── generic_func.amy ├── generics.amy ├── generics.err.amy ├── if.amy ├── if.err.amy ├── let.amy ├── let.err.amy ├── loop.amy ├── loop.err.amy ├── match.amy ├── match.err.amy ├── no_ret.err.amy ├── simple.amy ├── simple.err.amy └── typevars.err.amy /.github/workflows/nightly.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/.github/workflows/nightly.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/LICENCE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/TODO.md -------------------------------------------------------------------------------- /src/ast.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/src/ast.rs -------------------------------------------------------------------------------- /src/lexer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/src/lexer.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/parse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/src/parse.rs -------------------------------------------------------------------------------- /src/seperation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/src/seperation.rs -------------------------------------------------------------------------------- /src/typecheck.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/src/typecheck.rs -------------------------------------------------------------------------------- /tests/amy/parse/test.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/parse/test.amy -------------------------------------------------------------------------------- /tests/amy/parse/testy.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/parse/testy.amy -------------------------------------------------------------------------------- /tests/amy/seperation/basic.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/seperation/basic.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/calls.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/calls.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/calls.err.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/calls.err.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/dup.err.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/dup.err.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/generic_func.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/generic_func.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/generics.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/generics.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/generics.err.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/generics.err.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/if.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/if.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/if.err.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/if.err.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/let.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/let.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/let.err.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/let.err.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/loop.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/loop.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/loop.err.amy: -------------------------------------------------------------------------------- 1 | def main() do 2 | break 3 | continue 4 | end 5 | -------------------------------------------------------------------------------- /tests/amy/typecheck/match.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/match.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/match.err.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/match.err.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/no_ret.err.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/no_ret.err.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/simple.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/simple.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/simple.err.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/simple.err.amy -------------------------------------------------------------------------------- /tests/amy/typecheck/typevars.err.amy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amethyst-lang/amethyst/HEAD/tests/amy/typecheck/typevars.err.amy --------------------------------------------------------------------------------