Skip to content

Releases: spreadsheetlab/XLParser

XLParser 1.2.4

07 Feb 15:44
Compare
Choose a tag to compare
  • Fixed several errors in which names/named ranges were allowed
    • Question marks are now allowed
    • Can now start with all unicode letters (e.g. =äbc)
    • Corrected characters which are allowed if the name starts with a cell name or TRUE/FALSE (e.g. =A1.MYNAME)
  • Allow for whitespace-only sheetnames (e.g. =' '!A1), altough they will always be returned as " " by PrefixInfo
  • Made some corrections in how multiple sheet references (=Sheet1:Sheet3!A1) are parsed
  • Removed escape sequences in strings (e.g. "Line1\nLine2") as these are not part of the Excel formula language
  • Added support for structured references to a complete table (e.g. =MyTable[])

XLParser 1.2.3

04 Jan 13:42
Compare
Choose a tag to compare

Adds support for special characters in structured references.

XLParser 1.2.2

06 Nov 10:22
Compare
Choose a tag to compare
  • Adds equality to PrefixInfo class
  • Fixes parse error if external reference file path contains a space (='C:\My Dir\[file.xlsx]Sheet'!A1)
  • ExcelFormulaParser.SkipToRelevant no longer skips references without a prefix.

    This is a breaking change, but the old behavior is arguably a bug. An argument is added to restore old behavior, defaults to new behavior.

XLParser 1.2.1

09 Oct 15:03
Compare
Choose a tag to compare

Adds GetReferenceNodes to ExcelFormulaParser

XLParser 1.2.0

13 Sep 19:55
Compare
Choose a tag to compare
  • Made it easier to modify the grammar in your own class by extending the grammar class
  • Can now parse non-numeric filenames (=[file]Sheet!A1)
  • Parsing of the Prefix nonterminal is changed and is now a little bit more uniform. ExcelFormulaParser.GetPrefixInfo gives prefix information in an easy to use format.
  • Can now parse Structured References. See #16 for caveats.
  • You can now select the XLParser version to use in the web demo.

XLParser 1.1.4

01 Sep 15:42
Compare
Choose a tag to compare
  • Added some missing methods that test for specific types of operators
  • Added tests and fixes if necessary for methods that were missing tests

XLParser 1.1.3

18 Aug 12:00
Compare
Choose a tag to compare

Reference implementation of the Excel grammar published in the upcoming paper "A Grammar for Spreadsheet Formulas Evaluated on Two Large Datasets" by E. Aivaloglou, D. Hoepelman and F. Hermans.

  • Added all formulas from EUSES and Enron datasets and tests to check if they all parse
  • Made parser thread safe
  • Fixed #9: some tokens which would not accept all unicode characters (like UDF) now do so
  • 'Sheet1:Sheet5' will now correctly parse as MULTIPLESHEETS instead of a single sheet

XLParser 1.1.2

11 Aug 13:02
Compare
Choose a tag to compare

Fixed #1, #2, #4.

  • Added a web demo in app/XLParser.Web which generates parse tree images
  • All UDF's now use the same nonterminal
  • Non-Prefixed UDFs can now be part of a reference expression
  • IF and CHOOSE functions can now be part of a reference expression
  • Reference functions INDEX,OFFSET and INDIRECT can no longer have a prefix
  • Operator precedence for reference operators (: , and intersection) is now correct
  • Fixed printing of reference operators

Initial Release

30 Jun 16:14
Compare
Choose a tag to compare

First public release of XLParser

Attached .zip includes the compiled library version and the grammar explorer.