- Dec 20, 2015
-
-
Nicolas Léveillé authored
-
Nicolas Léveillé authored
As MSVC doesn't implement C99, variable-length arrays are not supported. We use _alloca instead.
-
Nicolas Léveillé authored
It is the counterpart to c4018 for x64 compilations.
-
Nicolas Léveillé authored
-
- Dec 13, 2015
-
-
Meredith L. Patterson authored
Added Python versions of base64 examples
-
Meredith L. Patterson authored
Some combinators may report the wrong amount of consumed input
-
Meredith L. Patterson authored
disable warning on windows about '..' in include paths
-
- Dec 08, 2015
-
-
Sven M. Hallberg authored
-
- Dec 07, 2015
-
-
Sven M. Hallberg authored
-
- Dec 06, 2015
-
-
TQ Hirsch authored
Handle memory allocation failures gracefully
-
- Dec 04, 2015
-
-
Sven M. Hallberg authored
-
Alex Willmer authored
These are transliterations of the existing C files. They're not particularly Pythonic or performant, but they're a start. Example of usage ``` $ echo ' YW55IGNhcm5hbCBwbGVhcw==' | PYTHONPATH=../build/opt/src/bindings/python/ python base64.py inputsize=27 input= YW55IGNhcm5hbCBwbGVhcw== ((((89L, 87L, 53L, 53L), (73L, 71L, 78L, 104L), (99L, 109L, 53L, 104L), (98L, 67L, 66L, 119L), (98L, 71L, 86L, 104L)), (99L, 'w', '=', '=')),) $ echo ' YW55IGNhcm5hbCBwbGVhcw==' | PYTHONPATH=../build/opt/src/bindings/python/ python base64_sem1.py inputsize=27 input= YW55IGNhcm5hbCBwbGVhcw== (97L, 110L, 121L, 32L, 99L, 97L, 114L, 110L, 97L, 108L, 32L, 112L, 108L, 101L, 97L, 115L) $ echo ' YW55IGNhcm5hbCBwbGVhcw==' | PYTHONPATH=../build/opt/src/bindings/python/ python base64_sem2.py inputsize=27 input= YW55IGNhcm5hbCBwbGVhcw== (97L, 110L, 121L, 32L, 99L, 97L, 114L, 110L, 97L, 108L, 32L, 112L, 108L, 101L, 97L, 115L) ```
-
- Dec 02, 2015
-
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-
- Dec 01, 2015
-
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-
- Nov 30, 2015
-
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
Rationale: "Basic allocation" refers to things outside of parsing proper, mostly initialization. If such allocations fail, the system is globally emory-starved from which it will likely not recover by returning failure. In this case, terminating the process is in fact the most robust strategy as it may mean the difference between a permanent hang and a temporary crash.
-
Sven M. Hallberg authored
Rationale: If memory allocation fails in the inner parse and we longjump up the stack, the temporary arena will be missed and leak. NB: This change means that any allocations done by the continuation (in the form of new parsers, probably) will persist for the lifetime of the parse result. Beware of wasting too much memory this way! The bind continuation should generally keep dynamic allocations to a minimum.
-
- Nov 27, 2015
-
-
Sven M. Hallberg authored
-
- Nov 14, 2015
-
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-
Meredith L. Patterson authored
fix LIBPATH order for building test_suite
-
Sven M. Hallberg authored
-
- Nov 01, 2015
-
-
Sven M. Hallberg authored
-
- Oct 30, 2015
-
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-
- Oct 29, 2015
-
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-
- Oct 04, 2015
-
-
TQ Hirsch authored
Don't try to recall() primitive results
-
TQ Hirsch authored
fix --coverage build option; building with it now creates .gcda files…
-
Meredith L. Patterson authored
-
Meredith L. Patterson authored
-
Meredith L. Patterson authored
-