Jakub Doka
8ad58ee6b6
changing the array sintax to be distinc from tuple
...
the arrays can be declared in a more natural way
type of the element can aso be inferred form the first element
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-20 10:17:34 +01:00
Jakub Doka
86f7d70747
adding default values to struct fields and @kindof directive
...
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-17 17:51:14 +01:00
Jakub Doka
b2be007ef0
adding unrolled loops, struct indexing and @len
directive
...
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-16 13:20:47 +01:00
Jakub Doka
00f6729d31
supporting ascii literals
...
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-14 21:02:29 +01:00
Jakub Doka
c553c3d9e9
Removing repetative code, adding ent slice to properly index modules
...
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-01 19:04:27 +01:00
Jakub Doka
9ce446b507
Adding the simplest version of unions
...
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-01 15:11:38 +01:00
Jakub Doka
3b4b30b2bd
Restructuring the compiler
...
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-01 14:01:44 +01:00
Jakub Doka
116f045a5f
adding defer
2024-11-24 18:50:55 +01:00
Jakub Doka
58ee5c0a56
in progress of adding methods
2024-11-24 14:47:38 +01:00
Jakub Doka
d8d039b67a
adding capability to run posts and displaing cumulative runs
2024-11-23 10:18:05 +01:00
Jakub Doka
fe5a8631f6
fixed a bug of not marking idents as used
2024-11-17 18:44:24 +01:00
Jakub Doka
8892dd729a
fixing the false return location
2024-11-17 18:15:58 +01:00
Jakub Doka
12b9d43754
adding minimal enums
2024-11-17 16:25:39 +01:00
Jakub Doka
d99672b751
fixing too strict assert
2024-11-11 22:14:54 +01:00
Jakub Doka
bedffa9b32
fixing constant fmt newline preservation
2024-11-09 10:58:57 +01:00
Jakub Doka
68c0248189
making type manipulation nicer
2024-11-08 10:25:34 +01:00
Jakub Doka
455f70db6e
adding better error reporting when compiler crashes errors are now sent trough out buffer
2024-11-08 08:36:00 +01:00
Jakub Doka
276d1bb0cf
fixing tab indentation in error messages and depell not displaying errors
2024-11-05 09:41:57 +01:00
Jakub Doka
999b25df8b
adding '_ = <expr>' syntax
2024-11-03 22:27:37 +01:00
Jakub Doka
9de631234d
adding unreachable
2024-11-03 10:15:03 +01:00
Jakub Doka
9ed3c7ab9e
saving
2024-10-30 20:20:03 +01:00
Jakub Doka
80558ea7e6
adding floating point arithmetic
2024-10-29 13:36:12 +01:00
Jakub Doka
047e1ed15c
adding null
2024-10-27 19:55:11 +01:00
Jakub Doka
83d3fb4919
adding array reformatting rule
2024-10-27 16:07:46 +01:00
Jakub Doka
b187af64a8
removing old compiler
2024-10-27 13:57:00 +01:00
Jakub Doka
ce7bb001da
handling infinite loops properly
2024-10-27 11:32:34 +01:00
Jakub Doka
517850f283
fixing undescriptive error or not enough arguments
2024-10-25 22:59:01 +02:00
Jakub Doka
e62aab9b4b
adding better binaro operator errors positions
2024-10-25 15:40:23 +02:00
Jakub Doka
ad4aed9c98
fixing loop bugs and some optimization edgecases
2024-10-21 15:12:37 +02:00
Jakub Doka
959bfd7f76
cleanup: 1
2024-10-19 19:37:02 +02:00
Jakub Doka
6ad0b41759
fixing code scheduling bugs
2024-10-19 10:17:36 +02:00
Jakub Doka
ea736d8824
lota of progress
2024-10-14 22:04:18 +02:00
Jakub Doka
2660d976fe
fixing arithmetic bug
2024-10-13 15:22:16 +02:00
Jakub Doka
0f4ff918d2
fixing bugs and improving memory consumption
2024-10-13 12:25:12 +02:00
Jakub Doka
5364b66629
adding gzip to static files
2024-10-12 15:04:58 +02:00
Jakub Doka
c4826d3bfd
fixing feature incompatibility
2024-10-12 13:07:49 +02:00
Jakub Doka
07638caff0
starting the compiler wasm
2024-10-10 19:01:12 +02:00
Jakub Doka
f0ae65606d
renaming directories, reducing temporary allocations during parsing
2024-10-10 15:48:08 +02:00