Commit Graph

40 Commits

Author SHA1 Message Date
Macocian Adrian Radu 63ae41e612 fixed function table 2022-05-19 13:37:56 +02:00
Macocian Adrian Radu e73ff31f1d Working generation, need to add list functions 2022-05-19 01:53:19 +02:00
Macocian Adrian Radu 26daa85feb kind of working,
still needs testing.
Added output return coercion in expression
Fixed formatting bugs
2022-05-17 02:26:18 +02:00
Macocian Adrian Radu 8d3d00b7a5 fixed functions without input 2022-05-16 13:03:22 +02:00
Macocian Adrian Radu 05d5bf3681 fixed recursive types 2022-05-16 12:55:36 +02:00
Macocian Adrian Radu 1cdb56f5ee Working multiple assignments,
Need to fix recursive types
2022-05-16 12:04:03 +02:00
Macocian Adrian Radu b8efc203a4 removed some debug messages 2022-05-15 01:53:20 +02:00
Macocian Adrian Radu 47051dbbbd parsing works with path expressions 2022-05-15 01:51:49 +02:00
Macocian Adrian Radu ee26710515 Working coercions, with one assign-ouput 2022-05-09 13:50:36 +02:00
Macocian Adrian Radu 3caea6f18a added coercions and explicit functions
it compiles
needs testing
2022-04-16 02:23:33 +03:00
Macocian Adrian Radu de940ca92e Changed to explicit functions
(idk if work, still need to add printing)
2022-04-07 03:25:14 +02:00
Macocian Adrian Radu f18066e5da Fixed subtyping 2022-03-25 01:42:56 +01:00
Macocian Adrian Radu a07fe3e67b Working Version 0.0.1 2022-03-03 00:41:18 +01:00
Macocian Adrian Radu edee037aa3 rearranged some functions,
added check for multiple definitions
changed naming of attributes in haskell
2022-02-24 12:05:53 +01:00
Macocian Adrian Radu a84f433667 Added support for multiple namespaces and imports 2022-02-22 19:38:22 +01:00
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