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).

/notes.txt (13d65e05aca85cddd2f539b14d98cfbf1c622752) (1302 bytes) (mode 100644) (type blob)

To compile it get MinGW, which contains the gcc and install it as described here:

http://csjava.occ.cccd.edu/~gilberts/mingw/

After having added the mingw/bin directory to the PATH variable simply switch to your pjass development directory
in the command prompt and type mingw32-make to compile the executable.
You'll only want to edit misc.c, token.l, grammar.y, and pjass.res - all other files are generated.
If you're going to change token.l or grammar.y, you'll need flex/bison. Those are not included in MinGW.
You'll better get those from here: http://www.monmouth.com/~wstreett/lex-yacc/lex-yacc.html
Alternatively you can get Cygwin and add the cygwin/bin directory to your PATH variable.
Last but not least I've added version information to the executable, for compilation under Windows that is.
You'll need ResourceHacker which you can obtain here:

http://www.angusj.com/resourcehacker/

Extract it to a directory and update the RESHCK definition in the makefile to match that path.
If you're not compiling under Windows, remove the following line from the makefile:

$(RESHCK) -addskip $@.exe, $@.exe, resource.res ,,,

Current version is 1.0l, defined in pjass.res.

Additionally UPX is used to pack the executable. You can get it here:

http://upx.sourceforge.net

Good luck, PitzerMike

Mode Type Size Ref File
100644 blob 1123 ce46009dc50383909124c943c85a78066da7aabd Makefile
100644 blob 185 38f94637da0ddc2cb0eed9f46b2f5693fbd434a4 check.sh
100644 blob 188 8c84706adba496bac3915f927a6f8ef5de63a6aa fail.sh
100644 blob 26460 732bc52d09158af9f342f51dc9852876a91c4798 grammar.y
100644 blob 22028 9151b0012ecdef5eb92fd354e48c62725e48b4fc misc.c
100644 blob 3473 db8c2e9a399ff178e268b102b6c90b7498bddbbb misc.h
100644 blob 1302 13d65e05aca85cddd2f539b14d98cfbf1c622752 notes.txt
100644 blob 764 270df8583e78c80f366a8ab431fab673d89446d5 readme.txt
100644 blob 5729 66c96e60e5fa0a5de4eadf6d1620ee6672618eed token.l
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