HISTORY 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. HISTORY for LPeg 1.1.0
  2. * Changes from version 1.0.2 to 1.1.0
  3. ---------------------------------
  4. + accumulator capture
  5. + UTF-8 ranges
  6. + Larger limit for number of rules in a grammar
  7. + Larger limit for number of captures in a match
  8. + bug fixes
  9. + other small improvements
  10. * Changes from version 1.0.1 to 1.0.2
  11. ---------------------------------
  12. + some bugs fixed
  13. * Changes from version 0.12 to 1.0.1
  14. ---------------------------------
  15. + group "names" can be any Lua value
  16. + some bugs fixed
  17. + other small improvements
  18. * Changes from version 0.11 to 0.12
  19. ---------------------------------
  20. + no "unsigned short" limit for pattern sizes
  21. + mathtime captures considered nullable
  22. + some bugs fixed
  23. * Changes from version 0.10 to 0.11
  24. -------------------------------
  25. + complete reimplementation of the code generator
  26. + new syntax for table captures
  27. + new functions in module 're'
  28. + other small improvements
  29. * Changes from version 0.9 to 0.10
  30. -------------------------------
  31. + backtrack stack has configurable size
  32. + better error messages
  33. + Notation for non-terminals in 're' back to A instead o <A>
  34. + experimental look-behind pattern
  35. + support for external extensions
  36. + works with Lua 5.2
  37. + consumes less C stack
  38. - "and" predicates do not keep captures
  39. * Changes from version 0.8 to 0.9
  40. -------------------------------
  41. + The accumulator capture was replaced by a fold capture;
  42. programs that used the old 'lpeg.Ca' will need small changes.
  43. + Some support for character classes from old C locales.
  44. + A new named-group capture.
  45. * Changes from version 0.7 to 0.8
  46. -------------------------------
  47. + New "match-time" capture.
  48. + New "argument capture" that allows passing arguments into the pattern.
  49. + Better documentation for 're'.
  50. + Several small improvements for 're'.
  51. + The 're' module has an incompatibility with previous versions:
  52. now, any use of a non-terminal must be enclosed in angle brackets
  53. (like <B>).
  54. * Changes from version 0.6 to 0.7
  55. -------------------------------
  56. + Several improvements in module 're':
  57. - better documentation;
  58. - support for most captures (all but accumulator);
  59. - limited repetitions p{n,m}.
  60. + Small improvements in efficiency.
  61. + Several small bugs corrected (special thanks to Hans Hagen
  62. and Taco Hoekwater).
  63. * Changes from version 0.5 to 0.6
  64. -------------------------------
  65. + Support for non-numeric indices in grammars.
  66. + Some bug fixes (thanks to the luatex team).
  67. + Some new optimizations; (thanks to Mike Pall).
  68. + A new page layout (thanks to Andre Carregal).
  69. + Minimal documentation for module 're'.
  70. * Changes from version 0.4 to 0.5
  71. -------------------------------
  72. + Several optimizations.
  73. + lpeg.P now accepts booleans.
  74. + Some new examples.
  75. + A proper license.
  76. + Several small improvements.
  77. * Changes from version 0.3 to 0.4
  78. -------------------------------
  79. + Static check for loops in repetitions and grammars.
  80. + Removed label option in captures.
  81. + The implementation of captures uses less memory.
  82. * Changes from version 0.2 to 0.3
  83. -------------------------------
  84. + User-defined patterns in Lua.
  85. + Several new captures.
  86. * Changes from version 0.1 to 0.2
  87. -------------------------------
  88. + Several small corrections.
  89. + Handles embedded zeros like any other character.
  90. + Capture "name" can be any Lua value.
  91. + Unlimited number of captures.
  92. + Match gets an optional initial position.
  93. (end of HISTORY)