./devel/ruby-sexp-processor, Generic sexp processing tools

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.10.0, Package name: ruby23-sexp-processor-4.10.0, Maintainer: pkgsrc-users

sexp_processor branches from ParseTree bringing all the generic sexp
processing tools with it. Sexp, SexpProcessor, Environment, etc... all
for your language processing pleasure.


Master sites:

SHA1: d1f919a46c6f8e5d9ba4d38786441ee47cd4bd06
RMD160: 278fcec626ebc4dcd0da89f8cd1a9a8bb628562e
Filesize: 53 KB

Version history: (Expand)


CVS history: (Expand)


   2017-07-31 16:16:47 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
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.
   2017-04-22 18:30:43 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-sexp-processor to 4.9.0.

=== 4.9.0 / 2017-04-13

* 9 minor enhancements:

  * Added Sexp.depth
  * Added Sexp.sexp_type=
  * Cache Sexp.line_max. Massively speeds up large flay runs.
  * Cleaned up SexpProcessor.process handling of result node type.
  * Extend pt_testcase for ruby 2.4 tests.
  * Extended Sexp.method_missing to only print on every invocation if $VERBOSE=1
  * Extended Sexp.method_missing to warn if the expected sub-sexp is not found.
  * Rewrote Sexp.mass to be MUCH faster. Helps tremendously with flay on large files.
  * Warn that Sexp#method_missing was tripped if $DEBUG.
   2017-03-20 13:30:58 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-sexp-processor to 4.8.0.

=== 4.8.0 / 2017-02-01

* 2 minor enhancements:

  * Added Sexp#line_max
  * Extended MethodBasedSexpProcessor#in_method to take line_max and record span.
   2016-03-08 15:49:40 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-sexp-processor to 4.7.0.

=== 4.7.0 / 2016-02-18

* 2 minor enhancements:

  * Expand to support 2.3 in tests. (presidentbeef)
  * Return enumerable for deep_each, each_sexp, and each_of_type. (ridiculous)
   2016-02-16 17:18:32 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
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.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-09-26 17:03:28 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
Update HOMEPAGE.
Avoid using rubyforge.org since it stopped most of services.
   2015-06-04 16:43:04 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-sexp-processor to 4.6.0.

=== 4.6.0 / 2015-05-28

* 2 minor enhancements:

  * Extended generate_test to deal with 19 and up.
  * Extended pt_testcase.rb so add_19tests means 19 and up.

* 1 bug fix:

  * Added and normalized tests to deal with canonicalized block args from \ 
ruby_parser.

=== 4.5.1 / 2015-04-27

* 1 minor enhancement:

  * Cache processors and rewriters. Significant speedup. (presidentbeef)