Skip to content

Commit

Permalink
imported peg-0.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
gpakosz committed Apr 28, 2012
1 parent c85fb98 commit 0fe23be
Show file tree
Hide file tree
Showing 13 changed files with 1,431 additions and 1,095 deletions.
17 changes: 12 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,26 @@ uninstall : .FORCE

peg.o : peg.c peg.peg-c

%.peg-c : %.peg
# ./peg -o $@ $<
%.peg-c : %.peg compile.c
./peg -o $@ $<

leg.o : leg.c

leg.c : leg.leg
# ./leg -o $@ $<
leg.c : leg.leg compile.c
./leg -o $@ $<

check : peg .FORCE
check : check-peg check-leg

check-peg : peg .FORCE
./peg < peg.peg > peg.out
diff peg.peg-c peg.out
rm peg.out

check-leg : leg .FORCE
./leg < leg.leg > leg.out
diff leg.c leg.out
rm leg.out

test examples : .FORCE
$(SHELL) -ec '(cd examples; $(MAKE))'

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ distribute them any way you like.

## Version history

* **0.1.9** ([zip](peg/zipball/0.1.9), [tar.gz](peg/tarball/0.1.9)) &mdash; 2012-04-29
Move global state into a structure to facilitate reentrant and thread-safe parsers (thanks to Dmitry Lipovoi).
* **0.1.8** ([zip](peg/zipball/0.1.8), [tar.gz](peg/tarball/0.1.8)) &mdash; 2012-03-29
Allow nested, matched braces within actions.
* **0.1.7** ([zip](peg/zipball/0.1.7), [tar.gz](peg/tarball/0.1.7)) &mdash; 2011-11-25
Expand Down
Loading

0 comments on commit 0fe23be

Please sign in to comment.