Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Converted to autoconf, automake. | 06b0d83604e6316c9e086af0ce08ac3f2d4e7b8a | cilibrar | 2004-08-15 06:13:25 |
*** empty log message *** | 3a61644cba31faab849c60b0aaeba6e5ae6e0fbb | cilibrar | 2003-06-22 18:00:46 |
Fix error message for implicit redirection parameter. | 547f94e18885bdb7d0a61908691268987ef03a0f | cilibrar | 2003-06-09 08:51:53 |
*** empty log message *** | cef95bf6a7aec8b05ceaa325e0b7cafe0e0fb616 | cilibrar | 2003-06-08 22:13:41 |
*** empty log message *** | c6a48acc98a4580e1dc9560b26b3adf579569319 | cilibrar | 2003-06-08 17:08:25 |
*** empty log message *** | a9084c6a8897b38d209f2f3839ed9fd8c17a5eb4 | cilibrar | 2003-06-08 15:59:21 |
*** empty log message *** | 594b07b664e8da134328e2099107f836c4783d22 | cilibrar | 2003-06-08 14:19:39 |
A makefile for cygwin. | 7114936321546139b5512821e3d868b21c0b89f1 | cilibrar | 2003-06-08 10:38:31 |
Added \n, \r, \t in double-quotes. Added debug keyword handling. Now it parses everything in the Scripts directory except demo.ai, which looks like it could never work anyway. | a76d8de5a85768c58297ad05dcc3bd361e3c8d69 | cilibrar | 2003-06-08 10:12:17 |
Make downcasting bug a bit more restrictive to minimize future problems. | 3bef4ca2d62e1de3fe70986de71a3da2b68ff25f | cilibrar | 2003-06-08 09:52:03 |
Fixed segfault involving undeclared variables by assuming they are integer. | 76b34be901540214c21b8af681bcf42620ca0e21 | cilibrar | 2003-06-08 09:49:56 |
Fixed bug with string literal addition. Added unfortunate special case to canconvert to allow downcasts from base to derived. Waiting on Blizzard to fix this one. (such a cast appears in one place in Blizzard.j) | 1384b0771dd6db4c6cb548fef3331f518509c68e | cilibrar | 2003-06-08 09:40:28 |
Allow null to be converted to code, string, and appropriate comparisons. | a2a05f7938a46a6a873d0f3313af760900403c88 | cilibrar | 2003-06-08 07:50:23 |
lets begin | edb29fca55a82526251fd7c671302425ed97d9bd | cilibrar | 2003-06-08 07:47:56 |
File | Lines added | Lines deleted |
---|---|---|
.cvsignore | 13 | 0 |
AUTHORS | 1 | 0 |
ChangeLog | 0 | 0 |
Makefile.am | 1 | 0 |
NEWS | 2 | 0 |
README | 1 | 0 |
configure.ac | 14 | 0 |
doc/readme.txt | 1 | 1 |
src/.cvsignore | 10 | 0 |
src/Makefile | 0 | 22 |
src/Makefile.am | 22 | 0 |
src/Makefile.cygwin | 0 | 25 |
src/Makefile.mingw | 0 | 30 |
src/config.h.in | 0 | 0 |
src/grammar.y | 1 | 1 |
File .cvsignore added (mode: 100644) (index 0000000..6b86cef) | |||
1 | .cvsignore | ||
2 | ? AUTHORS | ||
3 | ? ChangeLog | ||
4 | ? NEWS | ||
5 | ? README | ||
6 | Makefile | ||
7 | Makefile.in | ||
8 | aclocal.m4 | ||
9 | autom4te.cache | ||
10 | config.log | ||
11 | config.status | ||
12 | configure | ||
13 | o |
File AUTHORS added (mode: 100644) (index 0000000..70b3e86) | |||
1 | Rudi Cilibrasi (cilibrar@gmail.com) |
File ChangeLog added (mode: 100644) (index 0000000..e69de29) |
File Makefile.am added (mode: 100644) (index 0000000..af437a6) | |||
1 | SUBDIRS = src |
File NEWS added (mode: 100644) (index 0000000..4f7e946) | |||
1 | Sun Aug 15 08:01:40 CEST 2004 | ||
2 | Just converted to autoconf. |
File README added (mode: 100644) (index 0000000..fde9fe4) | |||
1 | pjass, a jass parser for command lines or scripting. See doc/readme.txt |
File configure.ac added (mode: 100644) (index 0000000..104d00e) | |||
1 | AC_INIT(pjass, 1.03, cilibrar@gmail.com) | ||
2 | AC_CONFIG_SRCDIR([src/misc.c]) | ||
3 | AM_INIT_AUTOMAKE | ||
4 | AM_CONFIG_HEADER([src/config.h]) | ||
5 | AC_LANG(C) | ||
6 | AC_PROG_CC | ||
7 | AM_PROG_LEX | ||
8 | AC_PROG_YACC | ||
9 | AC_PROG_INSTALL | ||
10 | AC_CONFIG_FILES([ | ||
11 | Makefile | ||
12 | src/Makefile | ||
13 | ]) | ||
14 | AC_OUTPUT |
File doc/readme.txt changed (mode: 100644) (index c12eda6..89a12a0) | |||
... | ... | http://jass.sourceforge.net/ | |
19 | 19 | ||
20 | 20 | Please send comments to | Please send comments to |
21 | 21 | Rudi Cilibrasi | Rudi Cilibrasi |
22 | cilibrar@ofb.net | ||
22 | cilibrar@gmail.com | ||
23 | 23 |
File src/.cvsignore added (mode: 100644) (index 0000000..788efd4) | |||
1 | .cvsignore | ||
2 | o | ||
3 | .deps | ||
4 | Makefile.in | ||
5 | config.h | ||
6 | grammar.c | ||
7 | grammar.tab.c | ||
8 | grammar.tab.h | ||
9 | stamp-h1 | ||
10 | token.c |
File src/Makefile deleted (index b752f22..0000000) | |||
1 | all: pjass | ||
2 | |||
3 | pjass: lex.yy.c grammar.tab.c grammar.tab.h misc.o | ||
4 | gcc -O2 lex.yy.c grammar.tab.c misc.c -lfl -o $@ | ||
5 | |||
6 | lex.yy.c: token.l | ||
7 | flex $< | ||
8 | |||
9 | grammar.tab.c: grammar.y | ||
10 | bison $< | ||
11 | |||
12 | grammar.tab.h: grammar.y | ||
13 | bison -d $< | ||
14 | |||
15 | clean: | ||
16 | rm grammar.tab.h grammar.tab.c lex.yy.c pjass | ||
17 | |||
18 | t: | ||
19 | ./pjass <t.txt | ||
20 | |||
21 | package: | ||
22 | tar Ccvfz ../ jass2.tar.gz jass2/Makefile jass2/grammar.y jass2/token.l jass2/misc.c jass2/misc.h jass2/readme.txt |
File src/Makefile.am added (mode: 100644) (index 0000000..d3c29fd) | |||
1 | |||
2 | bin_PROGRAMS = pjass | ||
3 | |||
4 | AM_CFLAGS = -mno-cygwin -O2 | ||
5 | |||
6 | pjass_SOURCES = \ | ||
7 | misc.c \ | ||
8 | misc.h \ | ||
9 | token.l \ | ||
10 | grammar.y | ||
11 | |||
12 | #pjass_DEPENDENCIES = token.c grammar.tab.c grammar.tab.h misc.o | ||
13 | |||
14 | token.c: token.l | ||
15 | |||
16 | grammar.tab.c: grammar.y | ||
17 | |||
18 | grammar.tab.h: grammar.y | ||
19 | bison -d $< | ||
20 | |||
21 | clean: | ||
22 | -rm grammar.tab.c grammar.tab.h token.c misc.o grammar.o token.o grammar.c |
File src/Makefile.cygwin deleted (index 2da1e03..0000000) | |||
1 | all: pjass | ||
2 | |||
3 | pjass: lex.yy.c grammar.tab.c grammar.tab.h misc.o | ||
4 | gcc lex.yy.c grammar.tab.c misc.c -o $@ -O2 -mno-cygwin -lfl | ||
5 | |||
6 | lex.yy.c: token.l | ||
7 | flex $< | ||
8 | |||
9 | grammar.tab.c: grammar.y | ||
10 | bison $< | ||
11 | |||
12 | grammar.tab.h: grammar.y | ||
13 | bison -d $< | ||
14 | |||
15 | clean: | ||
16 | rm grammar.tab.h grammar.tab.c lex.yy.c pjass.exe pjass | ||
17 | |||
18 | t: | ||
19 | ./pjass <t.txt | ||
20 | |||
21 | package: | ||
22 | tar Ccvfz ../ jass2.tar.gz jass2/Makefile jass2/grammar.y jass2/token.l jass2/misc.c jass2/misc.h jass2/readme.txt | ||
23 | |||
24 | binpackage: | ||
25 | rm -f PJASS.zip ; pkzip -a pjass.zip ../doc/readme.txt ./pjass.exe ; mv -f PJASS.zip pjass-bin-091-win32.zip |
File src/Makefile.mingw deleted (index 1232bb0..0000000) | |||
1 | CC=/cygdrive/c/mingw/bin/gcc.exe | ||
2 | |||
3 | all: pjass | ||
4 | |||
5 | pjass: lex.yy.c grammar.tab.c grammar.tab.h misc.o | ||
6 | $(CC) lex.yy.c grammar.tab.c misc.c -o $@ -O2 -mno-cygwin | ||
7 | |||
8 | lex.yy.c: token.l | ||
9 | flex $< | ||
10 | |||
11 | grammar.tab.c: grammar.y | ||
12 | bison $< | ||
13 | |||
14 | grammar.tab.h: grammar.y | ||
15 | bison -d $< | ||
16 | |||
17 | %.o: %.c | ||
18 | $(CC) $< -c | ||
19 | |||
20 | clean: | ||
21 | rm grammar.tab.h grammar.tab.c lex.yy.c pjass.exe pjass | ||
22 | |||
23 | t: | ||
24 | ./pjass <t.txt | ||
25 | |||
26 | package: | ||
27 | tar Ccvfz ../ jass2.tar.gz jass2/Makefile jass2/grammar.y jass2/token.l jass2/misc.c jass2/misc.h jass2/readme.txt | ||
28 | |||
29 | binpackage: | ||
30 | rm -f PJASS.zip ; pkzip -a pjass.zip ../doc/readme.txt ./pjass.exe ; mv -f PJASS.zip pjass-bin-091-win32.zip |
File src/config.h.in added (mode: 100644) (index 0000000..e69de29) |
File src/grammar.y changed (mode: 100644) (index b84bdc8..5ffd828) | |||
... | ... | expr: intexpr { $$.ty = gInteger; } | |
186 | 186 | $$.ty = binop($1.ty, $3.ty); } | $$.ty = binop($1.ty, $3.ty); } |
187 | 187 | | MINUS expr { isnumeric($2.ty); $$.ty = $2.ty; } | | MINUS expr { isnumeric($2.ty); $$.ty = $2.ty; } |
188 | 188 | | LPAREN expr RPAREN { $$.ty = $2.ty; } | | LPAREN expr RPAREN { $$.ty = $2.ty; } |
189 | | funccall { $$.ty = $1.ty } | ||
189 | | funccall { $$.ty = $1.ty; } | ||
190 | 190 | | rid LBRACKET expr RBRACKET { | | rid LBRACKET expr RBRACKET { |
191 | 191 | const struct typeandname *tan = getVariable($1.str); | const struct typeandname *tan = getVariable($1.str); |
192 | 192 | if (!tan->isarray) { | if (!tan->isarray) { |