Documentation updated: Parser
Moderators: dorpond, trevor, Azhrei
Documentation updated: Parser
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.
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
In a world of acronyms, here is how I parsed this statement:RPTroll wrote:wow. when did occ get added?
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
my guess is he meant oocgiliath wrote:In a world of acronyms, here is how I parsed this statement:RPTroll wrote:wow. when did occ get added?
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?
- Naryt
- Dragon
- Posts: 517
- Joined: Fri Oct 26, 2007 8:55 am
- Location: Near a tree, in a cave, under a rock.
If so, I added the /ooc command a while ago (May I think).salmelo wrote:my guess is he meant oocgiliath wrote:In a world of acronyms, here is how I parsed this statement:RPTroll wrote:wow. when did occ get added?
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?
A wandering lost soul
The correct answer is Orange County Chopperssalmelo wrote:my guess is he meant oocgiliath wrote:In a world of acronyms, here is how I parsed this statement:RPTroll wrote:wow. when did occ get added?
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?
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?
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.
Re: Documentation updated: Parser
Thank you!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
Operator precedence and order of evaluation would be nice.
- Mathemagician
- Dragon
- Posts: 666
- Joined: Tue May 22, 2007 2:27 pm
Re: Documentation updated: Parser
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 helpEsaquam wrote:Thank you!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
Operator precedence and order of evaluation would be nice.
Re: Documentation updated: Parser
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.Mathemagician wrote: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 helpEsaquam wrote: Operator precedence and order of evaluation would be nice.
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?