vrtc / pjass (public) (License: BSD) (since 2023-08-03) (hash sha1)
pjass is a free Jass scripting language parser. This repository is a fork of lep/pjass. The goal is to add Debian packaging. As of the time of this writing, it works for current stable, that is Debian 12 (bookworm).
List of commits:
Subject Hash Author Date (UTC)
Added utf8 bom as another whitespace token. ea1572ceaa7743fcdff89f206e24540df6358e7b lep 2016-01-31 13:23:27
Added tests to the git repo. 6aca6f760084ee65f8cdd469b18ad5cb37c42ee3 lep 2016-01-17 10:44:56
Cleaned up string and comment handling in the lexer ebec6e67e248bef82bf92416733b394399c4e1d4 lep 2016-01-17 09:51:44
Added \r, \n (\x10, \x13) as invalid escape characters. 85d0c7e4453c1879bcbc4db8be28527c5ce9f4f7 lep 2016-01-06 13:16:49
Fixed another rare crash. b6edcc3cfd5c1c837318b0efa5ded6f16e86b403 lep 2015-12-21 19:02:41
Fixed various warnings. 6027429ad1895baef4796ac4ae43952ed51f6174 lep 2015-10-28 09:27:40
Added prof target to makefile 9c4b383d3f7416a30a8bde79c735097edaf8d84a lep 2015-10-27 19:14:20
Added gprof support. 374f624967a563dd4c356a3fc104f8ced49fd692 lep 2015-10-27 18:10:13
Changed //! +rb to //# +rb 63af0d3664320cc94ee6e284c308b1983bcfdab2 lep 2015-10-27 17:17:04
Fixed rare segmentation fault. 13a129c8800d306c4117a54cf62cabbb86db3092 lep 2015-10-25 16:11:55
Makefile fixes. 08a5e4d203b0917d78c9fb479ff197d04f473b33 lep 2015-10-25 10:51:12
Makefile improvements (-O3 -flto) 035a361468f060b12bc473e5ec6b0d59db0765d3 lep 2015-10-24 09:16:16
Moved tests into this folder. 099d64a6284a26eafde87ef274c1210455db6f3e lep 2015-10-05 21:29:42
pjass now checks against //! +rb instead of //+rb. Whitespace allowed. 27da8d5250f0b815ef5d8765e0eac766ac4cce6b lep 2015-10-04 21:52:31
Optimized //+rb marker check. cb4a086136acb1a8d7b0bc8397237bbfbdc56191 lep 2015-10-04 18:11:13
Now allows //+rb everywhere. 4f366b09d651baf0846ed2097db94d35fe42b5a0 lep 2015-10-04 17:43:38
Added test target to the Makefile 0f2763df549a97364087c346f408e52ca9456c8d lep 2015-10-04 15:43:49
Allowes //+rb right before a function to ignore any returnbug errors in that function. Not throughoutly tested. 230863ba145b74be6dc8062787c8c9c1806d1c7a lep 2015-10-04 14:06:30
Directive to suppress warnings. f1538a555e3009cfd8cbd900347d523abdd11953 lep 2015-10-04 12:17:08
More Makefile enhancements. 94c97f7c5f943f09ee575e96e388e9e2c947385c lep 2015-10-04 11:34:36
Commit ea1572ceaa7743fcdff89f206e24540df6358e7b - Added utf8 bom as another whitespace token.
Author: lep
Author date (UTC): 2016-01-31 13:23
Committer name: lep
Committer date (UTC): 2016-01-31 13:23
Parent(s): 6aca6f760084ee65f8cdd469b18ad5cb37c42ee3
Signer:
Signing key:
Signing status: N
Tree: 73ffa3b70be3bb94594b64c5b4dde2e688cd2d0e
File Lines added Lines deleted
.gitignore 4 0
Makefile 1 1
tests/should-check/utf8-bom.j 2 0
token.l 2 1
File .gitignore changed (mode: 100644) (index ccf2a4a..26f5890)
... ... pjass.exe
8 8 pjass pjass
9 9 *.out *.out
10 10 *-analysis.txt *-analysis.txt
11 *.sw*
12 tests/Blizzard.j
13 tests/common.j
14 tests/map-scripts/
File Makefile changed (mode: 100644) (index 6837e86..bf21173)
... ... clean: clean-build-files clean-release-files clean-prof-files
47 47 clean-build-files: clean-build-files:
48 48 rm -f grammar.tab.h grammar.tab.c lex.yy.c \ rm -f grammar.tab.h grammar.tab.c lex.yy.c \
49 49 misc.o grammar.tab.o lex.yy.o \ misc.o grammar.tab.o lex.yy.o \
50 pjass.exe
50 pjass.exe pjass
51 51
52 52 clean-release-files: clean-release-files:
53 53 rm -f pjass-git-*.zip rm -f pjass-git-*.zip
File tests/should-check/utf8-bom.j added (mode: 100644) (index 0000000..9f9567a)
1 globals
2 endglobals
File token.l changed (mode: 100644) (index 5a5a632..194dd38)
... ... TABS [\x01-\x09\x0B\x0C\x0E-\x1F]
157 157 "<"|">"|"!"|"["|"]"|"("|")"|"+"|"-"|"*"|"/"|"." return TNULL; "<"|">"|"!"|"["|"]"|"("|")"|"+"|"-"|"*"|"/"|"." return TNULL;
158 158
159 159 [ \t]+ /* eat up whitespace */ [ \t]+ /* eat up whitespace */
160 \xEF\xBB\xBF /* utf8 bom */
160 161 [\x01-\x09\x0B\x0C\x0E-\x1F]+ /* eat up tabs */ [\x01-\x09\x0B\x0C\x0E-\x1F]+ /* eat up tabs */
161 162
162 . if (1) { char ebuf[1024]; sprintf(ebuf, "Unrecognized character %s (ASCII %d)", yytext, (unsigned char)yytext[0] ); yyerrorline(3, lineno, ebuf); }
163 . { char ebuf[1024]; sprintf(ebuf, "Unrecognized character %s (ASCII %u)", yytext, (unsigned char)yytext[0] ); yyerrorline(3, lineno, ebuf); }
163 164
164 165 %% %%
165 166
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/vrtc/pjass

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/vrtc/pjass

Clone this repository using git:
git clone git://git.rocketgit.com/user/vrtc/pjass

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main