Blogs >>
Sun 30 October - Fri 4 November 2016 Amsterdam, Netherlands
Sun 30 Oct 2016 10:55 - 11:20 at Matterhorn 1 - Second Session

When developing a new programming language, writing a parser is a necessary, but often tedious, task. During development, a language developer may want to experiment with different styles of concrete syntax: should the language be indentation-based like Python or Haskell, or should it belong to the curly-brackets family of languages (C, Java, etc.)? Skinner is a tool that automatically generates a parser directly from abstract-syntax-tree definitions, using a language skin to seed the parser generator with the appropriate syntax. The language skin includes a grammar template, a description of the lexical and syntactic features of the skin language. For instance, a Python language skin would contain a template for a scanner and parser for Python. Skinner tries to match the AST types to constructs in the grammar, using existing rules, removing unused rules, and creating new rules as necessary to instantiate a parser that generates the given ASTs. The user can use the generated parser as is, or modify it to taste.

Slides (Cat skinning @ SLE.pdf)120KiB

Sun 30 Oct

10:30 - 12:10: Parsing@SLE - Second Session at Matterhorn 1
parsing2016147781980000010:30 - 10:55
parsing2016147782130000010:55 - 11:20
File Attached
parsing2016147782280000011:20 - 11:45
File Attached
parsing2016147782430000011:45 - 12:10
File Attached