Commit Graph

25 Commits

Author SHA1 Message Date
Macocian Adrian Radu 50498e53d5 added headers to files 2022-02-17 23:26:47 +01:00
Macocian Adrian Radu 8743dc0874 fixed cardinality of is statements 2022-02-17 22:04:55 +01:00
Macocian Adrian Radu 1ebc24140c fixed cardinality checks on if statements 2022-02-17 22:04:09 +01:00
macocianradu 6005594afb Made super mandatory. Everything extends Object 2022-02-17 13:13:55 +01:00
macocianradu 07d4cc73e0 added enum pretty printing tests 2022-01-12 14:41:28 +02:00
macocianradu a8c5438d79 Added local environments to functions 2021-12-01 15:13:06 +01:00
macocianradu 7c7c5a4a35 Fixed ifelse and added newlines at printing 2021-12-01 15:05:22 +01:00
macocianradu 9ea420e337 Fixed ifelse and added newlines at printing 2021-12-01 15:05:06 +01:00
macocianradu 459c5f0b1d Added some predefined functions and fixed printer
Now with some restrictions generated code compiles
2021-12-01 02:54:30 +01:00
macocianradu 5f4f453da5 Fixed if without else pretty printing 2021-12-01 01:41:17 +01:00
macocianradu a61d547278 Added cardinality to type checking 2021-12-01 01:40:45 +01:00
macocianradu 9210c78beb Added cardinality to type checking 2021-12-01 01:40:26 +01:00
macocianradu ff25395b68 Added haddock documentation 2021-11-30 22:33:44 +01:00
macocianradu 70baa17a4e fixed types to be capitalized 2021-11-30 21:20:02 +01:00
macocianradu d14c1de4cf added function body 2021-11-12 03:20:22 +01:00
macocianradu 40f6fb24b7 finished generator for basic types, enums and functions.
Functions still need to print a body
2021-11-12 03:05:34 +01:00
macocianradu 045ae7049e Switched to have error on left and data type on right 2021-11-12 00:51:43 +01:00
macocianradu 6367fb7c45 removed tests from gitignore and added them to repo 2021-11-11 17:29:04 +01:00
macocianradu 3890ed5f03 Parser and type checker almost completely working
Added testing env
2021-11-11 17:25:30 +01:00
macocianradu 464ef29caa refactored type to add supertype
changed typechecker to have multiple errors and lower types can be used as super types
2021-10-31 21:36:55 +01:00
macocianradu 9437c6bd7a added type checker 2021-10-27 15:18:02 +02:00
macocianradu 51c625b74b refactored to add lexemes 2021-10-16 18:22:36 +02:00
macocianradu 4b49051b61 removed backups 2021-10-16 17:34:05 +02:00
macocianradu 76f2099361 initial commit 2021-10-16 17:31:01 +02:00
Macocian Adrian Radu 2681d8e3e1 Initial commit 2021-10-16 17:16:31 +02:00