Documentation updated: Parser

Doc requests, organization, and submissions

Moderators: dorpond, trevor, Azhrei

Post Reply
User avatar
giliath
RPTools Founder
Posts: 275
Joined: Tue Jan 31, 2006 11:10 am
Location: Austin, TX

Documentation updated: Parser

Post by giliath »

I have done some slight updating on the parser documentation. You can get at the links here:

http://rptools.net/doku.php?id=maptooldoc_1_3:chat

Scroll down to the bottom and there are 2 links in the Parser Macro Functions section.

http://rptools.net/doku.php?id=parser

and

http://rptools.net/doku.php?id=dicelib: ... 0functions

Right now dicelib:custom functions just contains a link to the subversion repository. I need to give a list of all custom functions we have added to the dicelib library, but that will be another day.
~Giliath

User avatar
RPTroll
TheBard
Posts: 3159
Joined: Tue Mar 21, 2006 7:26 pm
Location: Austin, Tx
Contact:

Post by RPTroll »

wow. when did occ get added?

User avatar
giliath
RPTools Founder
Posts: 275
Joined: Tue Jan 31, 2006 11:10 am
Location: Austin, TX

Post by giliath »

RPTroll wrote:wow. when did occ get added?
In a world of acronyms, here is how I parsed this statement:

wow. when did oracle county choppers get added?

wow. when did Office of the Comptroller of the Currency get added?

wow. when did Onondaga Community College get added?

Could you clarify please?
~Giliath

User avatar
RedDog
Dragon
Posts: 393
Joined: Sat Jan 05, 2008 10:02 pm
Location: Clearwater, FL

Post by RedDog »

Goliath, the "<=" did not keep it's format on the less than or equal to in the Logical Operations table.

salmelo
Giant
Posts: 210
Joined: Fri May 23, 2008 10:23 pm

Post by salmelo »

giliath wrote:
RPTroll wrote:wow. when did occ get added?
In a world of acronyms, here is how I parsed this statement:

wow. when did oracle county choppers get added?

wow. when did Office of the Comptroller of the Currency get added?

wow. when did Onondaga Community College get added?

Could you clarify please?
my guess is he meant ooc

User avatar
Naryt
Dragon
Posts: 517
Joined: Fri Oct 26, 2007 8:55 am
Location: Near a tree, in a cave, under a rock.

Post by Naryt »

salmelo wrote:
giliath wrote:
RPTroll wrote:wow. when did occ get added?
In a world of acronyms, here is how I parsed this statement:

wow. when did oracle county choppers get added?

wow. when did Office of the Comptroller of the Currency get added?

wow. when did Onondaga Community College get added?

Could you clarify please?
my guess is he meant ooc
If so, I added the /ooc command a while ago (May I think).
A wandering lost soul

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

Documentation ?! Awesome !
Dreaming of a 1.3 release

User avatar
RPTroll
TheBard
Posts: 3159
Joined: Tue Mar 21, 2006 7:26 pm
Location: Austin, Tx
Contact:

Post by RPTroll »

salmelo wrote:
giliath wrote:
RPTroll wrote:wow. when did occ get added?
In a world of acronyms, here is how I parsed this statement:

wow. when did oracle county choppers get added?

wow. when did Office of the Comptroller of the Currency get added?

wow. when did Onondaga Community College get added?

Could you clarify please?
my guess is he meant ooc
The correct answer is Orange County Choppers
:oops:

User avatar
Orchard
Great Wyrm
Posts: 1852
Joined: Fri May 09, 2008 10:45 am
Location: Doylestown PA
Contact:

Post by Orchard »

And while he works on that, some other people are working on a rather more verbose version of documentation.
:)

Samples, screenshots, and more!

One might even go so far as to call it a manual.

In fact, I'd rather see Giliath work on the code, and leave those of us NOT inclined to program to work on documentation, since we can read the code well enough.

Quick question--in reading the code, and in a few tests, I had accidentally discovered the openTest() function. I also noticed it's aliases: something like 5o or 4O will also call it, which is somewhat annoying.

I had a property called "Weapon1Ext5On" that was calling this function, which was REALLY confusing me for a while until I figured out what was happening. Obviously it shouldn't have been parsing QUITE that aggressively, but having the 'o' or 'O' as aliases for the openTest() function is perhaps a bit much (perhaps).

The other question is: even though I see what it does, I'm not sure that I know how it's useful beyond debugging. I'm guessing that it's purely a debug tool? Or am I missing something?
0+0=1, for very unstable CPUs.

Esaquam
Cave Troll
Posts: 32
Joined: Thu Jul 24, 2008 11:55 pm

Re: Documentation updated: Parser

Post by Esaquam »

giliath wrote: Scroll down to the bottom and there are 2 links in the Parser Macro Functions section.

http://rptools.net/doku.php?id=parser
Thank you!

Operator precedence and order of evaluation would be nice.

User avatar
Mathemagician
Dragon
Posts: 666
Joined: Tue May 22, 2007 2:27 pm

Re: Documentation updated: Parser

Post by Mathemagician »

Esaquam wrote:
giliath wrote: Scroll down to the bottom and there are 2 links in the Parser Macro Functions section.

http://rptools.net/doku.php?id=parser
Thank you!

Operator precedence and order of evaluation would be nice.
That's what the first line says, "The full PEMDAS" order of evaluation, though if you don't know what order of evaluation might be, I bet that doesn't help :)

Esaquam
Cave Troll
Posts: 32
Joined: Thu Jul 24, 2008 11:55 pm

Re: Documentation updated: Parser

Post by Esaquam »

Mathemagician wrote:
Esaquam wrote: Operator precedence and order of evaluation would be nice.
That's what the first line says, "The full PEMDAS" order of evaluation, though if you don't know what order of evaluation might be, I bet that doesn't help :)
Sorry, I was looking at the table of logical ops when I wrote that. Isn't PEMDAS only the arithmetic/algebraic ops, Paren Exp Mult Div Add Sub? It doesn't cover logical, compare, unary, or assignment operations.

Side note: I was a math undergrad, CS grad, spent an early part of my career doing compilers, and I don't think I've actually seen the term "PEMDAS" any where else since... grade school? I actually googled it when I first looked at the parser page, immediately went 'oh, right'. Curious as to whether the use is more common in other contexts now? That is, does it do it's job as a documentation phrase?

Post Reply

Return to “Documentation Requests/Discussion”