Commit Graph

42 Commits

Author SHA1 Message Date
7a98dfa825 feat: add if, else, return, break, continue and compounds stat 2022-10-28 14:49:49 +03:00
e92c2a69c8 feat: add all operators to expression 2022-10-28 12:59:44 +03:00
19c8af768b feat: add oct parsing in string parser 2022-10-28 10:38:09 +03:00
90497f601d feat: add export def 2022-10-28 10:11:17 +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
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
eb167d0a50 chore: improve named constructs in groups 2022-10-20 14:30:19 +03:00
bd90a3ed6d fix: remove = operator from location 2 2022-10-20 13:32:20 +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
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
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
8264dc3de0 fix: value from const char* initialization 2022-10-11 14:36:54 +03:00
9dca34696b fix: some issues with glob parser 2022-10-11 13:13:10 +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
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
ded15374d5 fix: replace -1u with std::string::npos or -1 2022-10-04 19:33:30 +03:00
90461448f0 chore: Rework AST innerworkings 2022-10-04 16:00:18 +03:00
7a4d81f5f8 fix: replace NO_LOCATION with location_t::NONE 2022-10-03 17:23:29 +03:00
044ad200e5 chore: move NO_LOCATION const to location_t 2022-10-03 15:48:39 +03:00
df0e17d450 refactor: replace contrstructors with paren syntax 2022-10-03 14:19:22 +03:00
4f22f27dc7 feat: add glob parser 2022-09-27 14:09:52 +03:00
189ec9e4c6 chore: make slice's functions only const 2022-09-27 14:09:24 +03:00
bd6a837ecb feat: add construct and group parser 2022-09-27 14:09:02 +03:00
f758eae53e chore: add vec_slice_t type 2022-09-27 13:58:52 +03:00
537884fbb8 feat: add iterable slice 2022-09-27 13:58:47 +03:00
bbc325c3a9 chore: move data.hh to utils 2022-09-25 13:45:15 +03:00
be734b47c3
refactor: switched from type const & to const type & syntax 2022-09-21 09:37:50 +03:00
5f778db5c2
Initial commit 2022-09-19 10:34:19 +03:00