llparse
llparse copied to clipboard
Generating parsers in LLVM IR
My goal is to peek `'\u{D3}'` which is counted as 2 characters and perform a test, otherwise start a span. I'm not very familiar with llparse and can't find any...
For pointers to shared structures that the parser that will not modify, add cptr type. An example is the settings_t used in llhttp.
This commit optimizes the scan of non-state-changing bytes using SSE2 instructions. A [_mm_cmpestri](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cmpestri) operation appears to be quite slow compared to alternative approach that involves [_mm_shuffle_epi8](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_shuffle_epi8) for low/high nibble of...
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...
This PR uses string concatenation to build the header, rather than repeated redefinitions with `+=`
I dont know what the point is to have this unreachable code in the result. It increases the size of the generated wasm files.
To avoid regressions like #66 I add a ci workflow based on the one in llhttp
unfortunately, while working on #64 i did not see that I introduced a compilation bug. Also #62 needs newer typescript This PR fixes both
Per the recommendation [here](https://github.com/apple/swift-nio/issues/3093), I am opening an issue on this repo to request a change to the generated `c_nio_llhttp.h` header. It appears that the `stdint.h` include [here](https://github.com/nodejs/llparse/blob/e2ae9d4446c58c9508a2904e45bf6b1161287131/src/compiler/header-builder.ts#L26) needs to...