Commit graph

139 commits

Author SHA1 Message Date
ProgramSnail
e3d1a758df Merge pull request 'v0.0.1' (#1) from dev into main
Reviewed-on: https://codeberg.org/ProgramSnail/lang-interpreter/pulls/1
2023-05-22 19:05:06 +00:00
ProgramSnail
d38d75c9d8 v0.0.1 2023-05-22 22:02:31 +03:00
ProgramSnail
a2e305c27f trying to fix basic types local types 2023-05-22 21:00:47 +03:00
ProgramSnail
24ff9a30d8 trying to fix basic types local types 2023-05-22 21:00:43 +03:00
ProgramSnail
25583d3edd . 2023-05-22 19:14:31 +03:00
ProgramSnail
43b2993e2a type_check_visitor value types maybe fixed 2023-05-22 19:14:17 +03:00
ProgramSnail
6bf64acc4d execute_visitor value types fixed 2023-05-22 18:33:56 +03:00
ProgramSnail
9aaac90ef6 fixes, builtin function fixes, deep copy, string access 2023-05-22 16:03:50 +03:00
ProgramSnail
3af0772da6 fixes, internal type is now abstract type 2023-05-22 10:58:50 +03:00
ProgramSnail
0290b5604a some fixes, going to fix function_call_expression typeclass argument types search bug 2023-05-22 01:25:12 +03:00
ProgramSnail
f2192b5331 fixes (debugging) 2023-05-21 17:00:59 +03:00
ProgramSnail
e6a03ef9bf builtin functions partial fix 2023-05-21 14:58:18 +03:00
ProgramSnail
bad48a1da0 returned / brounght value handling in execute_visitor (fixes) 2023-05-21 11:58:23 +03:00
ProgramSnail
f6b50b16ae type_check_visitor returned / brought values check, branches check 2023-05-21 11:21:24 +03:00
ProgramSnail
a9d4d3a104 reference fixes, fizes 2023-05-21 10:57:08 +03:00
ProgramSnail
8a84cfff70 constructors on heap, consuming match, move modifier in reference expression, .bring. keyword to return from block, some fixes 2023-05-20 20:18:49 +03:00
ProgramSnail
2556efcaba print & read builtin functions, fixes. execution of programs partially works 2023-05-20 00:01:54 +03:00
ProgramSnail
27f643dfbc commented code section removed 2023-05-19 17:09:33 +03:00
ProgramSnail
afecbd64f5 fixes, function definition search in typecheck 2023-05-19 17:09:14 +03:00
ProgramSnail
0b53b2f218 annotated types added to typeclass graph, fixes 2023-05-19 15:05:12 +03:00
ProgramSnail
d841e2754b adding types to typeclass tree, part 1 2023-05-19 11:55:46 +03:00
ProgramSnail
17328b842c new compiler options in CMakeLists, fixes 2023-05-19 10:27:14 +03:00
ProgramSnail
9b3d2812ba fixes 2023-05-18 22:27:55 +03:00
ProgramSnail
273ac960fd execute_visitor refactoring, type_constructor & type_constructor_patter fixes 2023-05-18 20:56:03 +03:00
ProgramSnail
f6de515b2c . 2023-05-18 20:11:26 +03:00
ProgramSnail
e75652afc3 values comparation (equality, using Same function) 2023-05-18 20:10:50 +03:00
ProgramSnail
b901078956 fixes 2023-05-18 01:02:54 +03:00
ProgramSnail
3abac1b643 fixes 2023-05-17 18:29:39 +03:00
ProgramSnail
b723fd6a65 fixes, build_visitor TupleType and VariantType fix 2023-05-17 17:57:56 +03:00
ProgramSnail
692f7ea3ec readme update 2023-05-17 15:53:07 +03:00
ProgramSnail
94805c8662 binary operator expression repalced with function call expression 2023-05-17 15:49:15 +03:00
ProgramSnail
5192ffe5f3 . 2023-05-17 15:08:51 +03:00
ProgramSnail
584bdfa54d type_check_visitor fixes, function_call_expression for typeclasses 2023-05-17 15:08:18 +03:00
ProgramSnail
8e74b3082e . 2023-05-17 12:23:09 +03:00
ProgramSnail
d2a01abc9c type_check_visitor FindSubExpressionMethodAndUpdate fixes, fixes 2023-05-17 12:23:01 +03:00
ProgramSnail
f177961fbf . 2023-05-17 11:51:26 +03:00
ProgramSnail
868d514bcc type_check_visitor FindSubExpressionMethodAndUpdate fixes, fixes 2023-05-17 11:51:14 +03:00
ProgramSnail
a90bcb5d92 type_check_visitor function_call_expression structure change 2023-05-17 10:44:20 +03:00
ProgramSnail
7fc56df2b7 fixes 2023-05-16 20:45:41 +03:00
ProgramSnail
ce0ca2a5cb check, that type satisfy typeclass requirements made in type_check_visitor 2023-05-16 16:16:14 +03:00
ProgramSnail
090f638e45 function declaration & definition statements for typeclasses and inherited classes in typecheck_visitor 2023-05-16 15:12:30 +03:00
ProgramSnail
aab455ff1d . 2023-05-16 14:15:40 +03:00
ProgramSnail
a1d9e6b190 better class interloop 2023-05-16 14:15:17 +03:00
ProgramSnail
c433448952 abstract types typecheck, fixes 2023-05-16 12:43:55 +03:00
ProgramSnail
9aeba7b0de part of typeclass_graph 2023-05-14 13:05:46 +03:00
ProgramSnail
4f54bb4bd7 better global_info API, better const/var/static handling, const typeclass requirements, fixes 2023-05-14 11:28:37 +03:00
ProgramSnail
047ead6fa3 fixes, colored errors 2023-05-13 22:40:33 +03:00
ProgramSnail
4b4756b657 namespace storage fix, namespace enter fix, maybe other fixes 2023-05-13 18:53:54 +03:00
ProgramSnail
4882d458f8 typeclasses can have required methods and required functions 2023-05-13 16:14:02 +03:00
ProgramSnail
562541087e example fixes 2023-05-13 14:54:48 +03:00