Garrit Franke
|
c1ebaec27c
|
chore: remove unnecessary file
|
3 years ago |
Garrit Franke
|
7810052c56
|
Modules (#17)
* chore: rename program -> module
* feat: add module builder
* feat: append standard library
* chore: fix clippy warnings
* chore: fix formatting
* feat: imports
* chore: fix formatting
* feat: resolve path deltas to entrypoint
* chore: fix formatting
* fix: path resolver
* chore: refactor stdlib
* docs: document modules
* docs: add "unreleased" section to changelog
* docs: add modules as unreleased bullet in changelog
* feat: resolve nested modules
* fix: clean up file resolvement
* chore: fix clippy lints
|
3 years ago |
Garrit Franke
|
2c6d81c063
|
feat: struct definitions (#12)
* feat: struct definitions
* feat: struct initialization
* chore: fix warning
* feat: use `new` keyword to initialize structs
* feat: infer struct type
* feat: allow structs as types
* feat: basic field access
* chore: fix formatting
* feat: assert function
* docs: add structs
* fix: builtin readme
* chore: refactor field access parsing
* chore: fix formatting
* feat: struct field assignments
* feat: struct field access in expressions
* feat: struct field access on function calls
* chore: fix formatting
* feat: nested structs
* chore: fix formatting
* chore: fix clippy warnings
Co-authored-by: Garrit Franke <garrit@slashdev.space>
|
3 years ago |
Garrit Franke
|
6a6547b9c7
|
feat: assignment operators (#10)
* feat: assignment operators
* docs: use assignment operators
Co-authored-by: Garrit Franke <garrit@slashdev.space>
|
3 years ago |
Garrit Franke
|
9459c11afa
|
Add C backend
|
3 years ago |
Garrit Franke
|
64b43c7c0c
|
Add optional types for declares
|
3 years ago |
Garrit Franke
|
a565849f3a
|
Add types to function arguments
|
3 years ago |
Garrit Franke
|
e20f6b69a4
|
Add reverse function to stdlib
|
3 years ago |
Garrit Franke
|
2fce143a31
|
Add len() std function
|
3 years ago |
Garrit Franke
|
dbee5b9eab
|
Add println function
|
3 years ago |
Garrit Franke
|
57f403cc9b
|
Add stdlib
|
3 years ago |