aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Merge pull request #104 from FredTheDino/union-typesEdvard Thörnros2021-03-09
|\ | | | | union types
| * Questionmark -> QuestionMarkEdvard Thörnros2021-03-09
| |
| * more hash sets!Edvard Thörnros2021-03-09
| |
| * fix functions as optional typesEdvard Thörnros2021-03-09
| |
| * change union to hashset from vectorEdvard Thörnros2021-03-09
| |
| * add in fancy tests for union typesEdvard Thörnros2021-03-08
| | | | | | | | | | Functions in union return-types aren't callable, because the call code is a bit wack. A nice starting point though.
| * change how tuple comparison functionsEdvard Thörnros2021-03-08
| |
| * return is implicit voidEdvard Thörnros2021-03-08
| |
| * add void typeEdvard Thörnros2021-03-08
| |
| * syntax for union typesEdvard Thörnros2021-03-08
| |
| * fix some nice tests for the nullable_typesEdvard Thörnros2021-03-08
| |
| * order the return type correctlyEdvard Thörnros2021-03-08
| |
| * fix return type error to be correctEdvard Thörnros2021-03-08
| |
| * parse nullable typesEdvard Thörnros2021-03-08
| |
| * add questionmark tokenEdvard Thörnros2021-03-08
| |
| * add union type and union valueEdvard Thörnros2021-03-08
|/
* Merge pull request #101 from FredTheDino/single-tuplesEdvard Thörnros2021-03-08
|\ | | | | Single-element tuples
| * parse indexing precedencesingle-tuplesGustav Sörnäs2021-03-08
| |
| * fix the testsEdvard Thörnros2021-03-08
| |
| * add more tests to tuplesEdvard Thörnros2021-03-08
| |
| * check other operand if one is unknownGustav Sörnäs2021-03-08
| |
| * remove commentGustav Sörnäs2021-03-08
| |
| * correct amount of errors in testGustav Sörnäs2021-03-08
| |
| * add testsGustav Sörnäs2021-03-08
| |
| * minor fix some errorsGustav Sörnäs2021-03-08
| |
| * error on '(,)'-tuplesGustav Sörnäs2021-03-08
| | | | | | | | Currently creats a lot of syntax errors. See #100.
| * check index out of bounds correctlyGustav Sörnäs2021-03-08
| |
| * document Value::{Unknown,Nil}Gustav Sörnäs2021-03-07
| |
| * cleanup commentGustav Sörnäs2021-03-07
| |
| * skip indexing into tuples when type checkingGustav Sörnäs2021-03-07
| |
| * allow trailing commas in tuplesGustav Sörnäs2021-03-07
| |
| * unknown in operators produce some _a_ valueGustav Sörnäs2021-03-07
| | | | | | | | This makes sense when type-checking.
* | Merge pull request #98 from FredTheDino/boolean-opsEdvard Thörnros2021-03-08
|\ \ | | | | | | boolean ops
| * | add tests for boolean opsEdvard Thörnros2021-03-07
| | |
| * | allow non-caputed upvalues to be droppedEdvard Thörnros2021-03-07
| | |
| * | add short-circuiting logicEdvard Thörnros2021-03-07
| |/
* | Merge pull request #99 from FredTheDino/indent-testsGustav Sörnäs2021-03-08
|\ \ | |/ |/|
| * move the testsGustav Sörnäs2021-03-07
| |
| * auto indent the testsGustav Sörnäs2021-03-07
|/
* Merge pull request #91 from FredTheDino/compiler-rewriteEdvard Thörnros2021-03-07
|\ | | | | WIP: Rewrite the compiler
| * fix warningsGustav Sörnäs2021-03-07
| |
| * add tests for constants declaration orderGustav Sörnäs2021-03-07
| |
| * look for outermost variables correctlyGustav Sörnäs2021-03-07
| |
| * fix parameters colliding with global variablesGustav Sörnäs2021-03-07
| |
| * remove double testGustav Sörnäs2021-03-07
| |
| * add buildscript to fix tests not being foundEdvard Thörnros2021-03-07
| |
| * add failing testsEdvard Thörnros2021-03-07
| |
| * add test for constants in outer blockEdvard Thörnros2021-03-07
| |
| * constants in outer scopeEdvard Thörnros2021-03-07
| |
| * remove filesGustav Sörnäs2021-03-07
| |