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: 438
Replies: 2
Posted by LeP
December 05, 2014, 02:27:07 PM

Jasshelper 2014-03-10

Views: 7275
Replies: 1
Posted by Glowackos
November 27, 2014, 09:39:52 AM

Gmax 1.2

Views: 10383
Replies: 5
Posted by BlizzMod
April 27, 2012, 07:49:05 AM

MDLVis

Views: 13069
Replies: 4
Posted by BlizzMod
February 19, 2011, 10:41:41 PM

NeoDex 2.7

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

PJass updates

Guest · 439

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
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 »



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.



Re: PJass updates
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     WC3JASS.com - The JASS Vault   Jetcraft - A Starcraft II mod