Skip to content

Releases: cesbit/pyleri

1.4.3

26 Mar 09:22
Compare
Choose a tag to compare
  • Don't raise UnusedElementError when used has more elems than Grammar, pr #24 (Thanks to @cdamours )

1.4.2

16 Mar 08:53
Compare
Choose a tag to compare
  • Fixed typing for delimiter on the List type. (see pr #23 , @dk949 )
  • Small PEP-8 fix.

1.4.1

23 Jul 19:15
Compare
Choose a tag to compare
  • Added typing hints

1.4.0

23 Jul 16:30
Compare
Choose a tag to compare
  • Extra keyword argument line_number to .as_str(..) method to include the line number with the error.
  • Regular expression object not with flags before the required ^ character.

1.3.4

10 Aug 11:16
Compare
Choose a tag to compare
  • Fixed bug with recursion in Prio element. (issue #18)

1.3.3

01 Dec 20:38
Compare
Choose a tag to compare
  • Fixed bug with single and double quote characters in export. (issue #16)

1.3.2

29 Oct 10:02
Compare
Choose a tag to compare
  • Replace / with _ in function name for c-export.

1.3.1

25 Oct 20:03
Compare
Choose a tag to compare
  • Fixed exporting Repeat element to C. (issue #9)
  • Added header file name option to export_c() method.

1.3.0

15 Oct 14:28
Compare
Choose a tag to compare
  • Added element properties:
    • Keyword.ign_case
    • Choice.most_greedy
    • List.min, List.max, List.opt_closing
    • Repeat.min, 'Repeat.max`
  • Added Result.as_str() method for returning a textual parse result.
  • Fixed correct expecting for List element.
  • Added MaxRecursionError exception for Prio element.
  • Added create_grammar() method as a shortdut for writting a Grammar class.

1.2.2

09 Jul 11:18
Compare
Choose a tag to compare
  • Added export to JavaScript using class (es6) syntax.

  • Use jsleri Ref.set() method instead of Object.assign.