Skip to content

Commit

Permalink
Feature/refactor input data separation (#9)
Browse files Browse the repository at this point in the history
* fix bug (add test on TEST(yaml, double_quotation_list_case04))

* add: TEST(yaml, hash_depth1_null)

* add: bool sstd::split_quotes(vs,s), fix: split()s

* add: sstd::startswith()

* add: sstd::split_quotes(vs, c*/s, xc*/xs)

* wip

* BugFix: sstd::strIn()

* wip

* test/src_test/cast

* wip

* add: empty flow_style

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* add: sstd::terp::var::push_back(sstd::terp::var&& rhs)

* wip

* wip

* Feature/sstd terp var v2 (#8)

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* replace sstd::terp::var -> sstd::terp::var_v2 (WIP)

* replace sstd::terp::var -> sstd::terp::var_v2 (Fin)

* wip

* wip

* replace _data_type_and_format() to _data_type_and_format_v2()

* rm unused lines

* modify type definition

* wip

* wip

* add: sstd_yaml::_splitByLine_quotes_brackets()

* replace sstd::splitByLine_quotes() to sstd_yaml::_splitByLine_quotes_brackets()

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* rm unused lines

* modify

* add comment tests

* wip

* wi

* add print

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* rm unuse lines

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* end of implimenting sstd_yaml::_str2token()

* wip

* append _extract_quotes_value(sstd::strip_quotes()) to the _str2token()

* rm unused lines

* fix

* fix comments detection

* wip

* WIP

* wip

* wip

* wip

* wip

* rm unused lines

* begin: rm _token2json and change to _token2var() style

* rm unused lines

* wip

* wip

* reconstructing _token2var()

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* add: test of sstd_yaml::_token2cmd()

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* add TEST(yaml, list_and_hash__conbined)

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* rm unused lines

* rm pop()

* wip

* rm unused lines

* under fixing multi line problem

* fix tests

* wip

* wip

* wip

* begin: implimenting sstd_yaml::_format_mult_line_str()

* wip

* wip

* wip

* fix: _format_mult_line_str()

* add test cases of .format_mult_line_str()

* WIP

* wip

* wip

* WIP

* WIP

* WIP

* WIP

* wip

* add noSymbol mode in std_yaml::_format_mult_line_str()

* wip

* add: TEST(yaml, _str2token_multi_list_case10)

* fix: is_in_token flag

* change variable name: is_in_token -> is_hs

* begin: splitting the _str2token() to _str2token_except_multilines() and _token2token_merge_multilines()

* wip

* wip

* wip

* wip

* wip

* add: sstd_yaml::_token2token_postprocess()

* wip

* wip

* wip

* fix: TEST(yaml, multi_line_str_by_list_greater_num_1_case02)

* wip

* wip

* wip

* fix: _extract_quotes_value()

* wip

* wip

* wip

* wip

* wip

* wip

* fix: ultipul_list_indication_case02a/b

* fix SEGV

* Almost finished to refactor yaml parser and its tests

* wip

* fix: double_quotation_complicated_multiline_test_case01

* rm unused lines

* rm: unused comments

* rm: unused lines and print

* change function name: _construct_var_v2() -> _construct_var()

* add: sstd::rcount(), sstd::lcount() and sstd::count()

* add: sstd::split(c,c) and sstd::split(s,s)

* add: sstd::lstripAll_ow(s,c), sstd::lstripAll_ow(s,s), sstd::rstripAll_ow(s,c), sstd::rstripAll_ow(s,s)

* rm unused lines

* rm unused `t.list_type_cnt` process

* rm unused `t.list_type_cnt` process

* rename: command_v2 to command

* rm unused lines

* rm unused lines

* wip

* rm warning

* wip

* rm: "\r\n" support

* fix bug on flow-stype section

* rm unused lines

* add a test for escape

* wip

* wip

* bug fix
  • Loading branch information
admiswalker authored Jun 30, 2024
1 parent e0afbde commit b0f7495
Show file tree
Hide file tree
Showing 19 changed files with 6,311 additions and 1,837 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ updateLib:
2. Edite under `sstd/src/` and `test/`
3. Compile
```bash
# ./docker/alpine/build.sh # if you use alpine docker env (Only for the init)
# ./docker/alpine/run.sh # if you use alpine docker env
make
```
4. Run tests
Expand Down
5 changes: 5 additions & 0 deletions admis/.ash_history
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
make clean
make
./exe
make clean
exit
Loading

0 comments on commit b0f7495

Please sign in to comment.