Skip to content

Commit

Permalink
Other misc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Gernhardt committed Feb 6, 2011
1 parent dd19cf7 commit 129c1e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.mkd
Expand Up @@ -1440,7 +1440,7 @@ It does have some up and down sides:
Pro Pro
--- ---


* Simplicity of recursive parser, power of Perl regexes, LALR expression * Simplicity of recursive parser, power of Perl regexes, LR expression
parser with flexible defaults. parser with flexible defaults.
* Reasonably easy to build a complex language. The `cish` grammar and * Reasonably easy to build a complex language. The `cish` grammar and
actions are 221 lines. actions are 221 lines.
Expand All @@ -1456,7 +1456,8 @@ Neutral
* There is support for types, but not much. * There is support for types, but not much.
* Staticly typed languages are possible, but not as easy. * Staticly typed languages are possible, but not as easy.
* No actual bytecode generation * No actual bytecode generation
* Compiles to PIR, which parrot can compile to bytecode. * Compiles to PIR, which parrot can compile to bytecode:
`parrot -o code.pbc code.pir`
* Code generation not optimized * Code generation not optimized
* But it can be: [tree-optimization library][tree-op] * But it can be: [tree-optimization library][tree-op]


Expand All @@ -1465,7 +1466,7 @@ Neutral
Con Con
--- ---


* Limits of recursive descent, only LALR for single expression language. * Limits of recursive descent, only LR for single expression language.
* Backtracking past actions can lead to confusing results * Backtracking past actions can lead to confusing results
* Mainly with rules like `begin_block` * Mainly with rules like `begin_block`
* Documentation is sparse, somewhat out of date * Documentation is sparse, somewhat out of date
Expand Down

0 comments on commit 129c1e6

Please sign in to comment.