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 730 d833c0c2ee6b5aa377f4f30d3e678d0fcac569ee Makefile
100644 blob 439 04f5f4c52ea3055fd29ddd78ff091326ee1b4177 Makefile.Whatever
100644 blob 564 2da1e0352a6d6e6f5a956f60424e1ee391131e98 Makefile.cygwin
100644 blob 26021 6b3bbeb49255a1bf6c841c38be4a77e340e60dc6 grammar.y
100644 blob 19641 0dfd52afe6720b9b117559d08e1751cb856d9f44 misc.c
100644 blob 3369 9603d7a0f63502ef428407ef7df18764f1322c4c misc.h
100644 blob 1302 13d65e05aca85cddd2f539b14d98cfbf1c622752 notes.txt
100644 blob 744 c8efdbf329d07cba0543a81c2aa696108bb97080 pjass.res
100644 blob 764 270df8583e78c80f366a8ab431fab673d89446d5 readme.txt
100644 blob 6387 22ec4a6f71e40e38ca426fc3db474636a1990061 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