first commit

This commit is contained in:
z7zmey
2017-11-07 08:21:38 +02:00
commit 599def1384
5 changed files with 1245 additions and 0 deletions

20
Makefile Normal file
View File

@@ -0,0 +1,20 @@
# Copyright (c) 2011 CZ.NIC z.s.p.o. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# blame: jnml, labs.nic.cz
all: php-parser.go
go build
run: all
./php-parser
php-parser.go: php-parser.l
golex -t $< | gofmt > $@
clean:
rm -f php-parser.go lex.yy.go y.output *~
nuke: clean
rm -f example