Garrit Franke
|
267a42304c
|
docs: add changelog
|
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
|
ec4f821843
|
chore: clean up argument parsing
This will come in handy later for structs, since
the parsing doesn't rely on any specific tokens
like ")" or "}"
|
3 years ago |
Garrit Franke
|
6c1e128e21
|
docs: update state of documentation
|
3 years ago |
Garrit Franke
|
ea2bc98f3f
|
docs: update readme
|
3 years ago |
Garrit Franke
|
793e25b6e3
|
docs: fix typo
|
3 years ago |
Garrit Franke
|
5e7724a8eb
|
Clippy fix (#11)
* ci: allow unknown lints
* ci: remove deny warnings
Co-authored-by: Garrit Franke <garrit@slashdev.space>
|
3 years ago |
Garrit Franke
|
41081a65c9
|
ci: use default rust toolchain
|
3 years ago |
Garrit Franke
|
f150250ab2
|
ci: fix clippy
|
3 years ago |
Garrit Franke
|
989bcbdf71
|
ci: run clippy on builds.sr.ht
|
3 years ago |
Garrit Franke
|
74333f47a6
|
ci: disallow clippy warnings
|
3 years ago |
Garrit Franke
|
ebd34541b1
|
chore: fix warnings
|
3 years ago |
Garrit Franke
|
60ff8392f7
|
ci: run clippy on all features
|
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
|
f00101a623
|
docs: add github issues link
|
3 years ago |
Garrit Franke
|
8234e53179
|
docs: add boolean values
|
3 years ago |
Garrit Franke
|
e3d28c69eb
|
docs: fix link
|
3 years ago |
Garrit Franke
|
a214ea763e
|
v0.3.0
|
3 years ago |
Garrit Franke
|
c319f8fddc
|
docs: document for loops
|
3 years ago |
Garrit Franke
|
9e3a57bd4f
|
docs: document while loops
|
3 years ago |
Garrit Franke
|
62fecab0a4
|
feat: llvm statements
|
3 years ago |
Garrit Franke
|
727c8d1e72
|
feat: llvm: generate argument types
|
3 years ago |
Garrit Franke
|
e770c11ae0
|
docs: add --no-default-features to build command
|
3 years ago |
Garrit Franke
|
3f802caad7
|
feat: llvm: return types
|
3 years ago |
Garrit Franke
|
c39ec1806a
|
Merge pull request #4 from garritfra/llvm-integration
LLVM backend scaffolding
|
3 years ago |
Garrit Franke
|
ce7ff9fdde
|
Merge branch 'master' into llvm-integration
|
3 years ago |
Garrit Franke
|
0848c4166b
|
ci: fix builds.sr.ht
|
3 years ago |
Garrit Franke
|
6c2f1ffaa3
|
chore: refactor backend plugin infrastructure
|
3 years ago |
Garrit Franke
|
e440cdcbd1
|
docs: document llvm target
|
3 years ago |
Garrit Franke
|
460dd4b708
|
chore: use node target as default
|
3 years ago |
Garrit Franke
|
4759fb2774
|
ci: use llvm 10
|
3 years ago |
Garrit Franke
|
ca2b4825ae
|
ci: use llvm version 11
|
3 years ago |
Garrit Franke
|
da1174c0c1
|
ci: use llvm version 11
|
3 years ago |
Garrit Franke
|
635f139305
|
ci: add llvm
|
3 years ago |
Garrit Franke
|
0705c80e9f
|
chore: ignore playground
|
3 years ago |
Garrit Franke
|
9cd07811c9
|
chore: remove playground
|
3 years ago |
Garrit Franke
|
5f5b246c68
|
GitHub actions (#3)
* ci: fix clippy
* ci: fix clippy warning
* ci: add status badge to readme
Co-authored-by: Garrit Franke <garrit@slashdev.space>
|
3 years ago |
Garrit Franke
|
cfdb0ead49
|
feat: array as function call parameter
|
3 years ago |
Garrit Franke
|
087bdb19a0
|
ci: add github actions
|
3 years ago |
Garrit Franke
|
ee702e166f
|
ci: only build master branch
|
3 years ago |
Garrit Franke
|
d7d2aaca43
|
Merge branch 'master' of github.com:garritfra/sabre
|
3 years ago |
Garrit Franke
|
79d01c4f6c
|
feat: array as function call parameter
|
3 years ago |
Garrit Franke
|
fe78c6ade3
|
GitHub actions (#3)
* ci: fix clippy
* ci: fix clippy warning
* ci: add status badge to readme
Co-authored-by: Garrit Franke <garrit@slashdev.space>
|
3 years ago |
Garrit Franke
|
cebbfce596
|
ci: add github actions
|
3 years ago |
Garrit Franke
|
0d6b7b9bfc
|
ci: only build master branch
|
3 years ago |
Garrit Franke
|
e975944837
|
feat: basic llvm code generation
|
3 years ago |
Garrit Franke
|
c156773c5f
|
feat: scoped variables
|
3 years ago |
Garrit Franke
|
9122145531
|
chore: add todo
|
3 years ago |
Garrit Franke
|
bd2fac11c6
|
feat: optional type declaration in for loop
|
3 years ago |
Garrit Franke
|
291ed493b6
|
docs: document control flow
|
3 years ago |