Harman Patil (Editor)

Irony (framework)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Developer(s)
  
Roman Ivantsov

Operating system
  
Cross-platform

License
  
MIT License

Written in
  
C#

Platform
  
.NET Framework

Irony is a parser generator framework for language implementation on the .NET platform. Unlike most existing yacc/lex-style solutions, it does not employ code generation of a scanner/parser from grammars written in an external DSL. The grammars for the target language are coded directly in C# instead. The framework implements a LALR(1) parser.

Contents

Design

Terminal and nonterminal symbols and production rules are defined in an object oriented flavor of the EBNF using operator overloading. The framework allows for the generation of an abstract syntax tree which can be traversed using the visitor pattern or evaluated using an interpreter.

Uses

  • Script.NET scripting language
  • Visual Studio - Lua Language Support
  • References

    Irony (framework) Wikipedia


    Similar Topics