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)
*** 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
Commit c6a48acc98a4580e1dc9560b26b3adf579569319 - *** empty log message ***
Author: cilibrar
Author date (UTC): 2003-06-08 17:08
Committer name: cilibrar
Committer date (UTC): 2003-06-08 17:08
Parent(s): a9084c6a8897b38d209f2f3839ed9fd8c17a5eb4
Signer:
Signing key:
Signing status: N
Tree: 48529c327447acdda67cd81bb1e4d81f45ab491c
File Lines added Lines deleted
src/grammar.y 5 1
File src/grammar.y changed (mode: 100644) (index 80f12f3..b84bdc8)
... ... codeblock: /* empty */
287 287 statement: NEWLINE statement: NEWLINE
288 288 | CALL funccall | CALL funccall
289 289 | IF expr THEN codeblock elsifseq elseseq ENDIF { canconvert($2.ty, gBoolean); } | IF expr THEN codeblock elsifseq elseseq ENDIF { canconvert($2.ty, gBoolean); }
290 | SET rid EQUALS expr NEWLINE { canconvert($4.ty, getVariable($2.str)->ty); }
290 | SET rid EQUALS expr NEWLINE { canconvert($4.ty, getVariable($2.str)->ty); if (getVariable($2.str)->isconst) { char ebuf[1024];
291 sprintf(ebuf, "Cannot assign to constant %s\n", $2.str);
292 yyerror(ebuf);
293 }
294 }
291 295 | SET rid LBRACKET expr RBRACKET EQUALS expr { | SET rid LBRACKET expr RBRACKET EQUALS expr {
292 296 canconvert($4.ty, gInteger); canconvert($4.ty, gInteger);
293 297 canconvert($7.ty, getVariable($2.str)->ty); } canconvert($7.ty, getVariable($2.str)->ty); }
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