zawz
15ac04f505
implement delayed heredocument parsing
2021-05-21 16:36:24 +02:00
zawz
7379eaf180
internal rework: implement parsing context
2021-05-19 16:44:57 +02:00
zawz
c0f5e4ba27
further improve minimizing of cases
2021-05-11 18:06:48 +02:00
zawz
13c0d79bad
rename minimize to minify + prepare lxsh commands + add reserved variables
2021-03-20 11:09:02 +01:00
zawwz
8b701328bc
implement quote minimizing
2021-03-11 14:54:15 +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
28e8503b86
fix special variables in arithmetics
2021-02-16 15:07:09 +01:00
zawz
f4907b4e4d
fix missing indent on elif and case generation bug
2021-02-12 14:43:46 +01:00
zawz
8e79e10e60
remove non-generation of redirects in empty commands
2021-02-10 13:55:58 +01:00
zawz
7d26587dd2
implement var_assign structure to cmdvar + added internal json structure generator
2021-02-05 14:42:46 +01:00
zawz
9342464590
internal: modify var_assign structure
2021-02-03 15:05:48 +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
2a86e06551
Remove trailing space on empty commands
2021-01-06 16:46:43 +01:00
zawwz
36dfd9266e
Implement <() bash process substitution
2021-01-06 12:15:31 +01:00
zawwz
4e137ab35e
Fix generate bug on empty commands
2021-01-06 10:07:04 +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
a0155991e3
Performance optimizations
...
- Replaced some exec() calls with functions
- Removed resolved code being resolved again
- Removed empty string subargs inserted upon parsing
2020-11-13 15:18:30 +01:00
zawz
5a7c2e0bf0
add ${} parsing
2020-11-10 18:01:51 +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
2ec3eab75e
fix bug on minimized %include
2020-10-21 15:47:57 +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
374647e30a
Fix multi case value
2020-09-30 15:59:40 +02:00
Mateo Feron
01244e6ab1
Add basic arithmetic parse
2020-09-02 10:33:34 +02:00
Mateo Feron
577a1aef94
Improve parsing errors
2020-09-01 17:11:21 +02:00
zawz
af1de6d8fb
Extend options
...
+ Add global -E option
+ Add %include -e option
~ Move -C option to %include and %resolve
+ Improve comments and messages
2020-08-28 14:46:42 +02:00
zawz
ca41c27246
Init sources
2020-08-28 10:57:28 +02:00