Ruby AST Tools
by Brian Landau on Mar 25, 2009
- 4,089 views
Accessibility
Categories
Tags
More...Upload Details
Uploaded via SlideShare as Apple Keynote
Usage Rights
Statistics
- Favorites
- 9
- Downloads
- 60
- Comments
- 0
- Embed Views
- Views on SlideShare
- 3,877
- Total Views
- 4,089



Many different styles lead to the same Abstract Syntax tree or set of instructions.
Slowness not a huge issue in my experience.
Slowness not a huge issue in my experience.
Slowness not a huge issue in my experience.
Slowness not a huge issue in my experience.
`structure` just returns the node type structure not the contents of the nodes. this is very handy for code structure analysis.
By default ParseTree does this. To get the un-unified version you have to use RawParseTree.
ParseTree does this by processing with a CompositeSexpProcessor called Unifier
Take a class or method and translates it into a string of valid Ruby code that would create that Class/method exactly.
Useful for metaprogramming and dissecting dynamically created classes, methods, and procs
Ryan Davis has said to remember it's more about relative scores. Particularly bad scores I generally consider is those over 40 or if I'm being very rough those over 25.
Working on a site that will allow you to share and download those weightings.
Allows you to express queries in clear and concise ruby code.
Think of it as a Framework for specific API adapters, e.g. ActiveRecord
Includes a Rubigen based adapter generator for any data-source API you want
Allows you to express queries in clear and concise ruby code.
Think of it as a Framework for specific API adapters, e.g. ActiveRecord
Includes a Rubigen based adapter generator for any data-source API you want
Allows you to express queries in clear and concise ruby code.
Think of it as a Framework for specific API adapters, e.g. ActiveRecord
Includes a Rubigen based adapter generator for any data-source API you want