Serge Zaitsev
|
508bf43fa0
|
Test framework implemented
|
14 years ago |
Serge Zaitsev
|
f88240ac2e
|
Simplified demo output format
|
14 years ago |
Serge A. Zaitsev
|
23b8487783
|
Demo: option added to specify buffer size when reading
|
14 years ago |
Serge A. Zaitsev
|
8e31e4d214
|
jsmn: strings start from the first char after quotes
|
14 years ago |
Serge A. Zaitsev
|
b91dee9102
|
Demo: declarations moved to the top of functions.
|
14 years ago |
Serge A. Zaitsev
|
7a027a4dd2
|
Token manipulation functions changes. size_t replaced with unsigned int.
|
14 years ago |
Serge A. Zaitsev
|
3922360800
|
Demo: options added. Number of tokens can be specified now.
|
14 years ago |
Serge A. Zaitsev
|
991ca5dd94
|
Demo: can now read from stdin
|
14 years ago |
Serge A. Zaitsev
|
d0d52f6847
|
Design: primitive type implemented as a replacement to boolean/number/null. String tokens point to the unquoted string
|
14 years ago |
Serge A. Zaitsev
|
60509e2850
|
Design: rewritten using parser structure
|
14 years ago |
Serge A. Zaitsev
|
a2755a7595
|
Design: some error codes added
|
14 years ago |
Serge A. Zaitsev
|
daf93a0ebd
|
Feature: make difference between numbers and other primitives
|
14 years ago |
Serge A. Zaitsev
|
470c77fa63
|
Design: added assert macro and return macro.
|
14 years ago |
Serge A. Zaitsev
|
30370e37f8
|
Design: Added asserts in parser. Increased number of tokens in demo.
|
14 years ago |
Serge A. Zaitsev
|
b99663079c
|
Fix: errpos has got a correct type now
|
14 years ago |
Serge A. Zaitsev
|
b0e73ec44d
|
Design: objects and arrays are different types now
|
14 years ago |
Serge A. Zaitsev
|
a70dab5cf9
|
Design: unrolled reference tables. Nested functions moved outside. Got smaller code.
|
14 years ago |
Serge A. Zaitsev
|
aa97d8b599
|
Demo: changed to read from '.js' file
|
14 years ago |
Serge A. Zaitsev
|
a20a5aff1c
|
Fix: error position is an offset, not a pointer
|
14 years ago |
Serge A. Zaitsev
|
0568be6e0b
|
Demo separated from the jsmn code. Makefile changed. Some comments added
|
14 years ago |
Serge A. Zaitsev
|
6b6b3ba5c1
|
README and LICENSE added. MIT license choosen.
|
14 years ago |
Serge A. Zaitsev
|
f22c2d30b7
|
Initial commit. Demo program is included in the jsmn.c code. Ugly names and no comments. Please, don't read this changeset
|
14 years ago |