PyCParser icon indicating copy to clipboard operation
PyCParser copied to clipboard

C parser and interpreter written in Python with automatic ctypes interface generation

Results 6 PyCParser issues
Sort by recently updated
recently updated
newest added

Steps: git clone https://github.com/albertz/PyCParser.git cd PyCParser mkvirtualenv -p python2.7 -r ./requirements.txt pycparser ./runcprog.py ./demos/test_interpreter.c Result: EXCEPTION Traceback (most recent call last): File "./runcprog.py", line 56, in line: from cparser import...

Octal (\NNN) and hex escape (\xNN) sequences in char and string declarations require further support. Test C code: ``` #include #define NUM_TEST_SINGLE_CHAR 19 char test_single_char[NUM_TEST_SINGLE_CHAR] = { '\0', // octal...

A real compiler script with input file options as well as options like `-I`, `-D` and `-o` would be great-

I am not familiar with git, I only know how to operate with the github web interface so please read it at https://github.com/retsyo/albertz_PyCParser_Windows and test_interpreter.py is in fact in directory...

Use https://github.com/c-testsuite/c-testsuite/ to have some more tests.