Warcraft 3 documentation

vJASS & Zinc Documentation
For the latest documentation about how it works vJASS and Zinc language layers for Warcraft III, please follow these links:
Jasshelper documentation - Zinc documentation - WC3 Optimizer documentation

PJass updates

Guest · 1433

0 Members and 1 Guest are viewing this topic.

Rating

Average Score - 5 / 5

« Created: July 06, 2018, 04:16:24 AM by yxq1122 »
+ Show previous

PJass updates
on: December 05, 2014, 02:27:07 PM
Version: ea093b2
Keywords: pjass, jass, compiler
Operating System (OS):
  • Windows XP
  • Windows Vista
  • Windows 7
  • Windows 8
  • Windows 10
Tool Category: World Editor (WE) Add on or plugin
Rating: 5
Warcraft III Tool resource
« Created: June 26, 2018, 10:08:19 PM by moyack »
« Last Edit: August 09, 2018, 06:37:28 PM by moyack »

-->Latest version<--

Hey,
just wanted to release my pjass with some litte updates.
pjass now handles rawcodes (more?) correct. I think most of the time it makes no difference as jasshelper doesn't accept those rawcodes.
When pjass encounters some name it hasn't seen it also throws some suggestions in the error message.
Increased max recursion limit to 100000. This should help with realy big scripts.

Example:
test.j
Code: jass
  1. type bla extends integner
  2.  
  3. globals
  4.     integer a = 'a\\bd'
  5.     integer b = '\\'
  6.     integer c = 'avc'
  7. endglobals
  8.  
  9. function foo takes nothing returns nothing
  10. endfunction
  11.  
  12. function go takes nothing returns nothing
  13. endfunction
  14.  
  15. function bar takes nothing returns nothing
  16. endfunction
  17.  
  18. function xxx takes nothing returns nothing
  19.     local real abc
  20.     set acb = 1
  21.     call fo()
  22. endfunction

Code: [Select]
$ pjass test.j
test.j:1: Undefined type integner. Maybe you meant integer
test.j:4: Escaped chars are only allowed if they are the only char in the rawcode.
test.j:4: Escaped chars are only allowed if they are the only char in the rawcode.
test.j:6: Rawcodes must be 1 or 4 characters.
test.j:20: Undeclared variable acb. Maybe you meant abc
test.j:21: Undeclared function fo. Maybe you meant go, foo
test.j failed with 6 errors
Parse failed: 6 errors total

The code might be a bit ugly somtimes but i just wanted it working :)

-->Latest version<--
« Last Edit: August 09, 2018, 06:37:28 PM by moyack »

The Jassdb
Fresh pjass
Jass²


Re: PJass updates
Reply #1 on: July 24, 2018, 06:38:13 PM

New
Fixed some really silly bug thanks to @Wareditor. Also enabled some optimisation in cross compiling (my gcc for cross-compiling is rather old... well what can you do)
Also if more people reach that stack limit error pls say so and i will increase it again.

The Jassdb
Fresh pjass
Jass²


Re: PJass updates
Reply #2 on: August 09, 2018, 07:59:31 PM

New
Added modulo operator and merged the above release aswell.

The Jassdb
Fresh pjass
Jass²


 

* Random Tools

A new TESH Syntax Highlighter for Warcraft 3

Views: 3577
Replies: 2
Posted by WC3Mod
March 28, 2017, 10:53:33 PM

UnrealLoader [Universal kLoader]

Views: 6861
Replies: 3
Posted by karaulov
February 12, 2017, 04:53:30 PM

vrJASS

Views: 5141
Replies: 2
Posted by Ruke
June 02, 2016, 11:00:57 PM

PJass updates

Views: 1432
Replies: 2
Posted by LeP
December 05, 2014, 02:27:07 PM

Warcraft 3 Art Tools 1.01

Views: 8977
Replies: 0
Posted by moyack
April 28, 2012, 07:55:04 AM
Vivir aprendiendo.co - A place for learning stuff, in Spanish   Chaos Realm - The world of Game modders and wc3 addicts   Diplo, a gaming community   Power of Corruption, an altered melee featuring Naga and Demon. Play it now!!!   WC3JASS.com - The JASS Vault + vJASS and Zinc   Jetcraft - A Starcraft II mod   WormTastic Clan (wTc)