Loading ...
Sorry, an error occurred while loading the content.

Re: [pcgen] [DOCS] JEP formulas

Expand Messages
  • Ross M. Lodge
    The problem is that JEP isn t a programming language ... it s a formula parser. For JEP, [3,5,9]*7 isn t an array lookup...it s a math operation. I think JEP
    Message 1 of 35 , Jul 1, 2004
      The problem is that JEP isn't a programming language ... it's a formula
      parser. For JEP, [3,5,9]*7 isn't an array lookup...it's a math operation. I
      think JEP lets you do matrices with ['s as well.
      We've gone to some lengths to avoid changing the parser, which is developed
      by someone else. And it's probably a good idea, as I think Java Kensai said,
      to avoid pre-parsers...as you quickly start adding functionality to the
      pre-parser and end up with a messy syntax again.
      On the other hand, we can easily extend the JEP syntax with function calls.
      CL could be, for instance, a function call: cl("Fighter").
      What we need to do is figure out how to use the JEP capabilities to build a
      clean, documentable syntax. CL=Fighter isn't a valid variable name in any
      language I know of...it's just kind of confusing. In some ways, Fighter.CL
      would even make more sense.


      Quoting David Finch <david.finch@...>:

      > To me the index of an array is a 'lookup' operator so using the [] make
      > sence once you stop thinking of it as only an index.
    • Guillermo Llosa
      ... If I remember correctly (no guarantee) but a--e.com was exactly right.
      Message 35 of 35 , Jul 7, 2004
        Mark Coletti wrote:

        > On Fri, 02 Jul 2004 08:45:25 -0700, Kevin Brown
        > <kevin_brown@...> wrote:
        > > >>http://gmgen.sourceforge.net/wiki/
        > > >>
        > > >>I just hit that website, and the links are full of hard-core porn
        > > >>sites... someone might wanna check into that.
        > > >
        > > >
        > > > Deleted!
        > > > That is so not cool.
        > >
        > > The changes should be able to be rolled back thanks to it being a
        > wiki page, heheh.
        > QuantumGIS had the same problem recently. In fact, I wonder if it was
        > the same asshat. Was the offender posting links hosted by a--e.com,
        > which is Russian?
        > QuantumGIS locked down its WIki. It's a PITA, but was necessary.
        > Apparently this had occured regularly.
        > MAC
        > --
        > I'm taking reality in small doses to build immunity.
        > PCGen's release site: http://pcgen.sourceforge.net
        > PCGen's alpha build: http://rpg.plambert.net/pcgen
        > PCGen's FAQ:
        > http://rpg.plambert.net/pcgen/current/_docs/
        > *Yahoo! Groups Sponsor*
        > click here
        > <http://us.ard.yahoo.com/SIG=129aj5q7s/M=295196.4901138.6071305.3001176/D=groups/S=1705016061:HM/EXP=1089240609/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com>
        > ------------------------------------------------------------------------
        > *Yahoo! Groups Links*
        > * To visit your group on the web, go to:
        > http://groups.yahoo.com/group/pcgen/
        > * To unsubscribe from this group, send an email to:
        > pcgen-unsubscribe@yahoogroups.com
        > <mailto:pcgen-unsubscribe@yahoogroups.com?subject=Unsubscribe>
        > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
        > Service <http://docs.yahoo.com/info/terms/>.
        If I remember correctly (no guarantee) but a--e.com was exactly right.
      Your message has been successfully submitted and would be delivered to recipients shortly.