Up to [cvs.NetBSD.org] / pkgsrc / devel / ruby-sexp-processor
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
devel/ruby-sexp-processor: update to 4.13.0 Update ruby-sexp-processor to 4.13.0. === 4.13.0 / 2019-09-24 * 4 minor enhancements: * Added Sexp.q (query) and deprecated Sexp.s to distinguish better and match inspect output. * Extended Sexp::Matcher::Parser to allow `not?` patterns. * Extended Sexp::Matcher::Parser to cover more method names. * Split out all pattern-oriented code to sexp_matcher.rb. * 1 bug fix: * Fixed bug w/ ruby's Array#eql? and #hash not looking at ivars. === 4.12.1 / 2019-06-03 * 1 minor enhancement: * Sexp#line now raises if setting w/ non-integer (eg nil). * 3 bug fixes: * Fixed pt_testcase.rb for block args w/ trailing commas. * Fixed pt_testcase.rb for stabby proc sexps. * Simple fixes for STRICT_SEXP=1.
devel/ruby-sexp-processor: updaet to 4.10.1 === 4.10.1 / 2018-02-15 * 1 minor enhancement: * Tweaked pt_testcase for ruby 2.5 and better ruby2ruby test data.
Update ruby-sexp-processor to 4.10.0.
=== 4.10.0 / 2017-07-17
* 2 major enhancements:
* Added experimental pattern matcher to Sexp. Forked from sexp_path.
* Extended s to take a block and return a matcher: eg s{ s(:defn, atom, _, ___) }
* 23 minor enhancements:
* Added $STRICT_SEXP to crank down Sexp.[] and friends.
* Added Matcher#/ w/ real functionality.
* Added Sexp#/ to search with new patterns.
* Added Sexp#map to ensure you get a Sexp back.
* Added Sexp#new to create a new sexp with the same file/line/comment info.
* Added Sexp#search_each to recursively search w/ new patterns. Returns enum if no block.
* Added Sexp#sexp_body=
* Added Sexp::Matcher.match_subs? and .match_subs= to extend =~ so you can match strictly.
* Added Sexp::Matcher.parse to convert lispy string to safe matcher: "(defn atom _ ___)"
* Added all mutation methods to STRICT_SEXP >= 4
* Added deprecation message to Sexp#structure for [s(...)] forms.
* Added strict_sexp.rb to help you clamp down for future changes. STRICT_SEXP=1+
* Auto-require strict_sexp if $STRICT_SEXP is > 0.
* Converted a lot of indexed access to sexp_type/sexp_body, etc.
* Finally enforced SexpProcessor#process to only process sexps, not bare arrays.
* Made Sexp#/ double-dispatch to Matcher#/.
* Made Sexp#gsub work with new patterns.
* Made Sexp#sub work with new patterns.
* Made SexpProcessor STRICT_SEXP=4 compliant.
* Retired SexpMatchSpecial & SexpAny. Never used by anything AFAICT.
* Sexp#=== goes back to default.
* Sexp#=~(pat) calls pat =~ self.
* Sexp#sexp_body now takes optional offset. Use instead of sexp[n..-1].
* 9 bug fixes:
* Extended Sexp::Matcher::Parser.parse to lex more forms of regexp.
* Finished off all missing doco.
* Fixed == methods on all Matcher classes to include ivars.
* Fixed Child#satisfy? to properly return false if failed.
* Fixed Sexp#sexp_body to return a sexp using Sexp#new.
* Fixed map to use Sexp#new.
* Only try to set c_type if it responds to it. Make STRICT_SEXP safe.
* R2C has a hack in SexpProcessor to call sexp_type=. Renamed to c_type= in R2C.
* Removed very obsolete attrset test from pt_testcase.rb
=== 4.10.0b1 / 2017-06-13
Beta of the above.
Update ruby-sexp-processor to 4.6.1. === 4.6.1 / 2016-01-21 * 1 bug fix: * defs should have a nil node if body is empty.
Update ruby-sexp-processor package to 3.0.6. === 3.0.6 / 2011-08-16 * 5 minor enhancements: * Added ParseTreeTestCase#add_19tests * Added a bunch of FAILING 1.9 tests stolen from presidentbeef's repo! yay! * Added add_19tests and add_18tests to segregate version specific parsing. * Moved pt_testcase.rb to sexp_processor * Segregated a bunch of 1.8 specific tests using add_18tests.
Update devel/ruby-sexp-processor to 3.0.5. * Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Remove default value of GEM_BUILD. === 3.0.5 / 2010-09-01 * 2 minor enhancements: * Added in_context to clean up code. * optimize inspect to avoid needlessly caching @line === 3.0.4 / 2010-03-27 * 1 minor enhancement: * Added line number to pretty_print output if $VERBOSE
Initial import of ruby-sexp-processor. sexp_processor branches from ParseTree bringing all the generic sexp processing tools with it. Sexp, SexpProcessor, Environment, etc... all for your language processing pleasure.
Initial revision