Commit Graph

951 Commits

Author SHA1 Message Date
Wilson Lin fefe796887 Attribute streaming 2018-07-05 19:54:30 +12:00
Wilson Lin 4a18fb3b5d Add predicates and conditional helper functions to pipe 2018-07-05 19:54:18 +12:00
Wilson Lin 978299ce46 Fix missing type casts in hbu_buffer_compare 2018-07-05 19:53:18 +12:00
Wilson Lin b56cbceb8b Remove redundant check in hbu_buffer_valid_index 2018-07-05 19:53:00 +12:00
Wilson Lin d68953cb26 Declare tag and content stream functions before defining as they depend on each other 2018-07-05 19:52:22 +12:00
Wilson Lin 26ddcc2cc6 Fix unquoted attribute rules (blacklist instead of whitelist) 2018-07-05 19:51:25 +12:00
Wilson Lin 4d5121a55d Attribute value quote rules 2018-07-05 19:50:51 +12:00
Wilson Lin 4c311819cc Use hb_char_t in rules 2018-07-05 19:50:36 +12:00
Wilson Lin 294de8a4b0 Fix nicehash include path in rules 2018-07-05 19:48:44 +12:00
Wilson Lin 3070e4af39 Use common str-int32 map declarations 2018-07-05 19:47:00 +12:00
Wilson Lin 58a39afc7c Use common Str-StrSet map declarations 2018-07-05 19:44:26 +12:00
Wilson Lin 988b3373c3 Update nicehash to 3e5173e 2018-07-05 19:41:02 +12:00
Wilson Lin d2f8f7b20e Clarify parsing errors in README 2018-07-05 19:40:47 +12:00
Wilson Lin c73de84272 Compile using C11 standard 2018-07-05 19:40:27 +12:00
Wilson Lin 0771faba44 Restructure and start tag stream 2018-07-05 17:00:55 +12:00
Wilson Lin e2aa3fa6f5 Start content stream 2018-07-05 17:00:39 +12:00
Wilson Lin b24b7643ef `peek_eoi`, `peek_offset`, and `require` 2018-07-05 17:00:13 +12:00
Wilson Lin c1b5259cf7 Create single rules initialiser 2018-07-05 16:58:59 +12:00
Wilson Lin 2802070624 Add `void` to parameterless functions 2018-07-05 16:58:40 +12:00
Wilson Lin 0b72e0886d Rename inline tags to formatting tags 2018-07-05 16:57:39 +12:00
Wilson Lin c8c78d5365 Add function to get underlying char array of buffer 2018-07-05 16:57:11 +12:00
Wilson Lin d3113c4047 Helper buffer comparison functions 2018-07-05 16:56:49 +12:00
Wilson Lin 3e5495297b Move pipe.c notes to notes dir 2018-07-05 16:56:26 +12:00
Wilson Lin 6a12958407 Correct package.json from legacy 2018-07-05 16:56:07 +12:00
Wilson Lin d32414b79a Remove invalid npm scripts 2018-07-05 16:55:38 +12:00
Wilson Lin 37ff5fd2e4 Add npm package keywords 2018-07-05 16:55:21 +12:00
Wilson Lin 90ae33a86b Extra gcc checks 2018-07-05 16:55:02 +12:00
Wilson Lin 0df89c7613 Compile script 2018-07-04 23:26:07 +12:00
Wilson Lin 1b29816038 Set up basic skeleton for CLI 2018-07-04 23:26:02 +12:00
Wilson Lin d2b19de91d Create pipe 2018-07-04 23:25:45 +12:00
Wilson Lin 3c484d5c84 Create file streams 2018-07-04 23:25:38 +12:00
Wilson Lin 66c6e53eed Use common char types and defs in buffer.c 2018-07-04 23:25:11 +12:00
Wilson Lin a73b3aee5b Basic error handling 2018-07-04 23:24:32 +12:00
Wilson Lin a818e4f95a Set up common C char types and defs 2018-07-04 23:24:12 +12:00
Wilson Lin 561dedd724 Update URLs in README 2018-07-04 23:23:17 +12:00
Wilson Lin 881578349b Create buffer util 2018-07-04 00:18:16 +12:00
Wilson Lin 80d6ef86b7 Update --trimWhitespaceEx example 2018-07-04 00:18:10 +12:00
Wilson Lin 0626dd92ba Unquoted attribute value rules 2018-07-04 00:17:52 +12:00
Wilson Lin 33d6991eb6 Attribute name rules 2018-07-04 00:17:46 +12:00
Wilson Lin 61a9b71ea5 Tag name rules 2018-07-04 00:17:41 +12:00
Wilson Lin 47ac66dc40 Foundation rules 2018-07-04 00:17:26 +12:00
Wilson Lin 702f242a9b Restructure streams 2018-07-04 00:16:37 +12:00
Wilson Lin de461cf081 Restructure rules 2018-07-04 00:15:57 +12:00
Wilson Lin 6ece4cd973 Minor syntax fixes to rules 2018-07-02 22:21:56 +12:00
Wilson Lin c874b200f4 Add initial rules for children 2018-07-02 22:21:13 +12:00
Wilson Lin 0ed528626d Update rules to use nicehash; add mapping for entity refs 2018-07-02 21:58:33 +12:00
Wilson Lin e15a5e76ab Fix README links 2018-07-02 21:23:19 +12:00
Wilson Lin 35bef17ecc Use nicehash 2018-07-02 21:21:35 +12:00
Wilson Lin 2b11b4da9e Add rules 2018-07-02 21:21:22 +12:00
Wilson Lin d88d3ada69 Progress README 2018-07-02 21:21:00 +12:00
Wilson Lin 522408b923 Initial commit 2018-06-30 22:37:24 +12:00