1. 02 Jun, 2020 1 commit
    • Mark Olesen's avatar
      ENH: unify use of dictionary method names · 3e43edf0
      Mark Olesen authored
      - previously introduced `getOrDefault` as a dictionary _get_ method,
        now complete the transition and use it everywhere instead of
        `lookupOrDefault`. This avoids mixed usage of the two methods that
        are identical in behaviour, makes for shorter names, and promotes
        the distinction between "lookup" access (ie, return a token stream,
        locate and return an entry) and "get" access (ie, the above with
        conversion to concrete types such as scalar, label etc).
      3e43edf0
  2. 23 May, 2020 1 commit
  3. 18 May, 2020 1 commit
  4. 28 Jan, 2020 1 commit
  5. 19 Dec, 2019 1 commit
  6. 17 Dec, 2019 1 commit
    • Mark Olesen's avatar
      ENH: use exprString expansions for #eval · 1cf795a4
      Mark Olesen authored
      - follows the principle of least surprise if the expansion behaviour
        for #eval and expressions (eg, exprFixedValue) are the same.  This
        is possible now that we harness the regular stringOps::expand()
        within exprString::expand()
      1cf795a4
  7. 15 Dec, 2019 1 commit
  8. 14 Dec, 2019 1 commit
  9. 13 Dec, 2019 2 commits
    • Mark Olesen's avatar
      ENH: improve expression string expansions · 33e0c4ba
      Mark Olesen authored
      - reuse more of stringOps expansions to reduce code and improve the
        syntax flexiblity.
      
        We can now embed "pre-calculated" values into an expression.
        For example,
      
             angle       35;
             valueExpr   "vector(${{cos(degToRad($angle))}}, 2, 3)";
      
        and the ${{..}} will be evaluated with the regular string evaluation
        and used to build the entire expression for boundary condition
        evaluation.
      
        Could also use for fairly wild indirect referencing:
      
             axis1   (1 0 0);
             axis2   (0 1 0);
             axis3   (0 0 1);
             index   100;
             expr   "$[(vector) axis${{ ($index % 3) +1 }}] / ${{max(1,$index)}}";
      33e0c4ba
    • Mark Olesen's avatar
  10. 11 Dec, 2019 1 commit
    • Mark Olesen's avatar
      ENH: unified some common parser static methods · eb4fec37
      Mark Olesen authored
      COMP: delay evaluation of fieldToken enumeration types
      
      - lazy evaluation at runTime instead of compile-time to make the code
        independent of initialization order.
        Otherwise triggers problems on gcc-4.8.5 on some systems where
        glibc is the same age, or older.
      eb4fec37
  11. 09 Dec, 2019 2 commits
  12. 06 Dec, 2019 4 commits
  13. 26 Nov, 2019 1 commit
  14. 18 Nov, 2019 1 commit
  15. 20 Nov, 2019 1 commit