News

WC3 Modding Information Center is being upgraded!! new theme, new layout 100% mobile friendly and more is coming. Please share the rejoice of a new home and give you support through your messages here or in social networks like facebook and Discord

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

* Random Tools

PJass updates

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

Warcraft 3 Art Tools 1.01

Views: 7089
Replies: 0
Posted by moyack
April 28, 2012, 07:55:04 AM

Magos' War3 Model Editor

Views: 18044
Replies: 4
Posted by magos
August 28, 2011, 11:16:11 PM

NeoDex 2.7

Views: 236
Replies: 0
Posted by BlinkBoy
November 20, 2010, 09:02:36 PM

GMSI

Views: 285
Replies: 0
Posted by gekko
November 20, 2010, 09:02:36 PM

PJass updates

Guest · 207

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

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
Image/screenshot:
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 »



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.



Reply #2 on: August 09, 2018, 07:59:31 PM
New
Added modulo operator and merged the above release aswell.



 

Power of Corruption - A Warcraft III altered melee map   Chaos Realm - The world of Game modders and wc3 addicts