Commit Graph

69 Commits

Author SHA1 Message Date
572e9cb484 fix: inporper detection of end of string in char, too 2022-10-28 10:09:46 +03:00
2a0104808c fix: split int and string literals 2022-10-28 10:08:30 +03:00
e510584b98 fix(group): named parsers are tried in unnamed parsing 2022-10-28 10:07:52 +03:00
1f05551be1 fix: end of string doesn't get detected properly 2022-10-28 10:06:30 +03:00
d15bcc542c fix: type output map's namespace is not null when empty 2022-10-27 15:31:21 +03:00
28a18feb3f fix: int literal parsing parses in reverse 2022-10-27 15:30:59 +03:00
662442121d chore: recoded ast system with ptr functions 2022-10-27 14:31:59 +03:00
d7ee0e3bb2 feat: add function parsing 2022-10-22 15:19:05 +03:00
17e5021fd8 chore: remove arbitrary error catching for debug mode 2022-10-20 22:41:41 +03:00
3229d41d85 feat: add member access to expressions 2022-10-20 14:30:44 +03:00
eb167d0a50 chore: improve named constructs in groups 2022-10-20 14:30:19 +03:00
0cb7e25097 fix: some location fixes 2022-10-20 13:32:52 +03:00
bd90a3ed6d fix: remove = operator from location 2 2022-10-20 13:32:20 +03:00
6245a41fe0 fix: remove = operator from locaton 2022-10-20 13:32:05 +03:00
7a1cc27514 chore: made location - map converters convert to string instead 2022-10-20 13:31:18 +03:00
c5f8438f1a chore: make filename of location_t NOT be a reference 2022-10-20 13:30:20 +03:00
a5c9a163f2 fix: namespaces of types are now read correctly 2022-10-19 16:28:29 +03:00
9aa0063e30 fix: some != -1 comparasion fixes 2022-10-19 16:17:56 +03:00
8a8712fb9d feat: add casting to expressions 2022-10-19 14:39:11 +03:00
18c6098851 feat: add basic expression parsing 2022-10-19 14:21:05 +03:00
50c3067802 fix: make appropriate methods of token_t const 2022-10-17 22:43:49 +03:00
328788d320 chore: add NONE operator 2022-10-17 22:39:59 +03:00
ef79208438 refactor: map::array_t now extends std::vector, instead of shelling it 2022-10-17 22:22:38 +03:00
e2e180b9a5 chore 2022-10-14 20:27:45 +03:00
f1f78e0af2 chore: fix up main 2022-10-12 12:01:57 +03:00
86f72ee2b2 feat: add pointer parsing to types 2022-10-12 12:01:37 +03:00
eb8d7cd1f1 refactor: modify ast_ctx_t::parse signature to fit other stages 2022-10-12 11:59:54 +03:00
0c7961ca6b feat: add type parsing 2022-10-11 14:39:01 +03:00
ff6d01034a chore: add pause on end of application when in debug mode, improve exception handling 2022-10-11 14:38:42 +03:00
349bcc462c fix: location stringification 2022-10-11 14:38:14 +03:00
febae7df7f cohre: add PROFILE define statement in make script 2022-10-11 14:38:00 +03:00
8264dc3de0 fix: value from const char* initialization 2022-10-11 14:36:54 +03:00
f0e778a85c chore: remove token printing in main 2022-10-11 13:14:25 +03:00
9dca34696b fix: some issues with glob parser 2022-10-11 13:13:10 +03:00
a8cda64516 fix: float and int literals 2022-10-11 13:12:42 +03:00
1190f09e3a fix: remove length increment on location printing 2022-10-11 13:10:12 +03:00
1192e86c23 chore: rewrite awful lexer 2022-10-10 18:53:31 +03:00
4d6ce93ae3 chore 2022-10-09 16:34:02 +03:00
cca9bc2e07 feat: add json stringification 2022-10-09 14:43:28 +03:00
ee6c29bb7d feat: add namespace and import parsing 2022-10-09 14:18:38 +03:00
0a68529c3b a lot. 2022-10-04 23:45:08 +03:00
9890630b79 chore: improve lsproj compilation 2022-10-04 23:02:18 +03:00
452884a74c feat: implement group parser 2022-10-04 20:36:30 +03:00
63f79a28e1 fix: improve try_parse and parse functions in helper.hh 2022-10-04 20:23:39 +03:00
1c552c2c5c fix: replace namespace_name_t implementation with vector inheritence 2022-10-04 20:03:46 +03:00
3c08cd13db chore: move tokenizer.hh to ppc::comp::tree 2022-10-04 19:59:06 +03:00
75af4cd77f fix: add DOUBLE_COLON 2022-10-04 19:58:17 +03:00
9f17ac6471 chore: add placeholder parse function to group_parser_t 2022-10-04 19:35:40 +03:00
96232c88c9 fix&refactor: clean up lex and fix some bugs with npos 2022-10-04 19:35:19 +03:00
a0ff612dd2 fix: update lang dependencies 2022-10-04 19:34:44 +03:00