Commit graph

26 commits

Author SHA1 Message Date
zawz
f93447e7dc fix(parse): fix parse of sequential braces 2022-04-08 15:38:11 +02:00
zawwz
39cc1da707 fix parsing of # in middle of arg 2021-11-05 10:52:48 +01:00
zawwz
92d4caf5c0 code cleanup 2021-11-03 11:41:42 +01:00
zawz
4ff253a364 implement small optimization on arg parse 2021-08-14 13:09:45 +02:00
zawz
3af1fc57fc fix fct minify encountering reserved words 2021-06-29 15:53:25 +02:00
zawz
38845e8652 multiple parsing fixes
- comment in pipeline throwing an error
- heredocument tries to parse quotes
- split pipeline/condlist combined with heredocuments don't parse correctly
2021-06-29 14:09:11 +02:00
zawz
0e6fc1262d deduplicate parsing constant 2021-06-23 16:54:21 +02:00
zawz
56ed26ed96 fix parsing errors on variables in arithmetics 2021-06-22 10:01:29 +02:00
zawz
15ac04f505 implement delayed heredocument parsing 2021-05-21 16:36:24 +02:00
zawz
064c37b4ee fix error messages on bash 'function' 2021-05-19 16:56:46 +02:00
zawz
7379eaf180 internal rework: implement parsing context 2021-05-19 16:44:57 +02:00
mateoferon
bc215fc994 code cleanup 2021-05-04 09:32:30 +02:00
zawwz
e2e2300337 implement live parse+execution 2021-03-18 15:35:33 +01:00
zawz
fd4c1b0d05 major changes:
structure: remove manipulation class integrate into variable class
debashify: implement debashify on indexed arrays
parsing: can now parse manipulations in arithmetics
2021-02-17 17:00:12 +01:00
zawz
7d26587dd2 implement var_assign structure to cmdvar + added internal json structure generator 2021-02-05 14:42:46 +01:00
zawwz
2ffe4ddf2f implement internal variable structure 2021-01-20 11:49:32 +01:00
zawwz
7114a39fe3 implement arithmetic parsing and processing 2021-01-15 16:34:47 +01:00
zawwz
2b1e7c008b restructure struc object extensions 2021-01-06 16:37:08 +01:00
zawwz
b4a99d366d Restructure files: separate processing utilities 2020-11-27 10:32:32 +01:00
zawz
b3f02ce06d Optimize var operations on get argument var definitions 2020-11-20 22:19:28 +01:00
zawz
806580ac2a Fix gcc compile bug due to external defined inline 2020-11-19 16:53:41 +01:00
zawz
1a5bbd7986 implement redirect parsing and minimizing 2020-11-19 16:51:26 +01:00
zawz
c971b4e424 Major rework
~ Altered internal structure
~ Changed processing method to recursive function
~ Changed %include/%resolve
+ Output mode now reads multiple arguments
+ Toggleable include/resolve
+ Added variable and function processing (list/minimize)
- Remove some options for %include/%resolve
~ Many minor behaviour changes
2020-11-06 16:35:36 +01:00
zawz
8c85658297 Fix 0 being condsidered as comment 2020-10-21 15:31:54 +02:00
zawz
6350e1cfef Major rework
+ Move to pointers internally (performance improvement)
+ Polymorphic internal classes (performance improvement)
+ Add if/for/while parsing
2020-10-20 14:41:59 +02:00
zawz
ca41c27246 Init sources 2020-08-28 10:57:28 +02:00