Commit graph

8 commits

Author SHA1 Message Date
ryoon
125ecb9714 Fix build with Ruby 2.2. 2015-05-19 12:30:27 +00:00
taca
fb8815d537 Revert to treetop-1.4.15 since ruby-rail require prior to 1.5.
Thanks to hiramatsu@.
2014-03-15 15:15:06 +00:00
taca
70fdca8601 Update ruby-treetop to 1.5.1.
Changes are not available, please refer commit log:
<https://github.com/nathansobo/treetop/commits/master>.
2014-03-14 18:36:00 +00:00
taca
0508bd9119 Update ruby-treetop to 1.4.15.
Exact changes aren't available.  Please refer change log in github.
2013-09-15 16:34:40 +00:00
taca
0fb360d531 Update ruby-treetop to 1.4.12.
Exact changes aren't unavailable, please refer github:
      https://github.com/nathansobo/treetop/commits/master.
2012-12-17 15:06:50 +00:00
taca
53a5f326b5 Update textproc/ruby-treetop package to 1.4.10.
bugfixes: please refer https://github.com/nathansobo/treetop/commits/master
in detail.
2011-08-12 17:23:33 +00:00
taca
18219a95cf Update ruby-treetop package to 1.4.9.
Changes are unknown.
2010-12-04 04:38:20 +00:00
taca
72dfacb9cd Importing textproc/ruby-treetop 1.4.8.
Languages can be split into two components, their *syntax* and their
*semantics*. It's your understanding of English syntax that tells you
the stream of words "Sleep furiously green ideas colorless" is not a
valid sentence. Semantics is deeper. Even if we rearrange the above
sentence to be "Colorless green ideas sleep furiously", which is
syntactically correct, it remains nonsensical on a semantic
level. With Treetop, you'll be dealing with languages that are much
simpler than English, but these basic concepts apply. Your programs
will need to address both the syntax and the semantics of the
languages they interpret.

Treetop equips you with powerful tools for each of these two aspects
of interpreter writing. You'll describe the syntax of your language
with a *parsing expression grammar*. From this description, Treetop
will generate a Ruby parser that transforms streams of characters
written into your language into *abstract syntax trees* representing
their structure. You'll then describe the semantics of your language
in Ruby by defining methods on the syntax trees the parser generates.
2010-09-12 01:53:43 +00:00