Riyyi
4457a711cd
Util: Remove debugging printf() statements
2 years ago
Riyyi
925fdd474a
Util: Optimize m_index variable usage
2 years ago
Riyyi
d65f56bf03
Util: Break Lexer strings on quote and new lines
2 years ago
Riyyi
4501061060
Util: Add string validation to Parser
2 years ago
Riyyi
0aef4ee2c0
Util: Only break Lexer string tokenization on unescaped "
2 years ago
Riyyi
c1c9429a9d
Util: Improve Lexer string tokenization
2 years ago
Riyyi
356cdaf051
Util: Add increment() and decrement() to Lexer
2 years ago
Riyyi
b41bba72c9
Util: Rename Object key -> name
2 years ago
Riyyi
a818c4489c
Util: Add missing getter to Object
2 years ago
Riyyi
8800ff4f7a
Util: Move literal validation logic to Parser
2 years ago
Riyyi
6161d577c6
Util: Change Object map unused value to uint8_t
2 years ago
Riyyi
ddf0a2858b
Util: Move number validation logic to Parser
2 years ago
Riyyi
8c08b8a594
Util: Add error report to Lexer default case
2 years ago
Riyyi
4a7ed92519
Util: Add constructor Value(Type)
2 years ago
Riyyi
95e0ddf49a
Util: Fix return Value when an error has occurred
2 years ago
Riyyi
fdeba07fd4
Util: Improve JSON parsing and add error messages
2 years ago
Riyyi
a14cd1e0a5
Util: Change Parser switch cases to if-else
2 years ago
Riyyi
061ed74d4f
Util: Check strings for double quotes in Lexer
2 years ago
Riyyi
8fb1a1a8e9
Util: Move vector<Token> ownership to Job class
2 years ago
Riyyi
bc01b34e58
Util: Calculate JSON line number before lexing
2 years ago
Riyyi
68bc95fdf1
Util: Implement new JSON Job class
2 years ago
Riyyi
13d020a351
Util: Add JSON Job class
...
This class holds the to parse string and has a helper for printing error
messages.
2 years ago
Riyyi
af678374bc
Util: Add emplace() to Json::Value
2 years ago
Riyyi
e5978310bf
Util: Fix Parser Json::Value construction
2 years ago
Riyyi
8bfae9b483
Util: Add more ways of accessing and creating Json::Value objects
2 years ago
Riyyi
9f7fe81ef6
Util: Add parse() and dump() to Json::Value
2 years ago
Riyyi
aad95de5fd
Util: Add a JSON stringifier
2 years ago
Riyyi
c385432bb0
Util: Add JSON accessors
2 years ago
Riyyi
5188d57d19
Util: Add JSON parser
2 years ago
Riyyi
0880d98fe0
Util: Add JSON Array/Object/Value types
2 years ago
Riyyi
1c676f9548
Util: Add JSON lexical analyzer
2 years ago
Riyyi
592ee124cb
Manager: Do not print debugging output on release mode
3 years ago
Riyyi
54dc515def
Util: Make file append const reference
3 years ago
Riyyi
a8e73063ee
Util: Add file create function
3 years ago
Riyyi
abbf764a3e
Manager: Add feature to selectively comment and uncomment
3 years ago
Riyyi
a04b5232f4
Util: Add delimiter support to the cut function
3 years ago
Riyyi
22082a515b
Util: Add convenience functions to save external process creation
3 years ago
Riyyi
418b453507
Util: Add file class
3 years ago
Riyyi
ee451671cd
Util: Fix reading of file descriptors longer than 4096 bytes
3 years ago
Riyyi
12dd000f0b
Util: Pass string by const reference
3 years ago
Riyyi
cc7252f94d
Util: Change operators to the evaluated order
3 years ago
Riyyi
26ceceeba5
Util: Change System to direct-list-initialization
3 years ago
Riyyi
9926849640
Util: Add class Shell for executing more basic OS shell commands
3 years ago
Riyyi
496e3e4c88
Util: Do not modify the output result
3 years ago
Riyyi
06367a05b8
Util: Add additional System operator support
3 years ago
Riyyi
2fca315557
Util: Add support for stdin and | piping
...
In order to accomplish this, the arguments have to be stored in the
object. Because () evaluation order is not defined in the spec.
Because arguments have to be stored now, char pointers no longer work
and std::strings are stored instead. Systems object also cant be
returned as a reference anymore because you need to be able to know
which is the lhs and which is the rhs in the operator overloads.
3 years ago
Riyyi
70ccdee8c2
Util: Add class System for executing OS shell commands
3 years ago
Riyyi
3efe74582f
Util: Add ArgParser missing argument error message
3 years ago
Riyyi
bb29919f02
Util: Simplify the logic of the long option parsing function
3 years ago
Riyyi
2ac6d24520
Util: Add type error messages to ArgParser option arguments
3 years ago