3086 Posts in 569 Topics - by 2220 Members - Latest Member: keistoni

Warcraft III: MapsModelsSkinsIconsSpellsToolsTutorials
WC3 JASS: Code SnippetsJASS and vJASS Spells and SystemsJass Tutorials
Chat @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 WC3 Tools

UnrealLoader [Universal kLoader]

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

Wc3 Universal Calculator 5.3

Views: 11452
Replies: 7
Posted by D.O.G.
November 18, 2012, 05:42:05 AM

Wc3 Tile Maker by D.O.G. v1.2.1

Views: 185
Replies: 0
Posted by D.O.G.
July 24, 2012, 10:12:26 AM

Wc3mapoptimizer 5.0

Views: 800
Replies: 0
Posted by Vexorian
April 23, 2012, 12:25:49 PM

Magos' War3 Model Editor

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

Author Topic: PJass updates  (Read 84 times)

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

  • Recognized User
  • Lurker - level 1
  • *****
  • Posts: 1
  • WC3 Models: 0
  • WC3 Tutorials: 0
  • WC3 Tools: 0
  • WC3 Maps: 0
  • WC3 Skins: 0
  • WC3 Icons: 0
  • WC3 Spells: 0
  • Reputation: 100
  • lol, *****
    • View Profile
PJass updates
« on: December 05, 2014, 02:27:07 PM »
Version: 0500a60
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 Model resource
« Created: June 26, 2018, 10:08:19 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  [Select]
  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: June 26, 2018, 10:08:19 PM by moyack »
The Jassdb
Fresh pjass
Jass²

 

What's the best jass preprocessor? pjass or zoxc jassparser?

Started by moyackBoard Jass Theory & Questions

Replies: 2
Views: 9214
Last post December 14, 2012, 02:58:27 PM
by moyack
Blizzmodding Updates

Started by moyackBoard Site News & Updates

Replies: 0
Views: 7306
Last post October 03, 2013, 07:04:59 AM
by moyack
Blizzard Modding Information Center Wacraft III Modding Information Center WC3JASS.com - The JASS Vault Chronicles of Darkness - A Warcraft III mod Jetcraft - A Starcraft II mod Troll Smash - A Warcraft III Arena Starcraft II Modding Information Center
  Mod DB - Change the Game Power of Corruption - A Warcraft III altered melee map Chaos Realm - The world of Game modders and wc3 addicts Follow us on Facebook!!