资 源 简 介
What is Scopus
Scopus is framework that enables .NET developers to write parsers. The framework features in-code grammar definition using BNF-like syntax including semantic actions. Therefore it is possible to make refactoring in semantic actions. The aim of our project is to write parser generator that generates parallel parsers (multithreaded) for better performance. However the current version does not provide this functionality yet.
Current Version
The current (alpha) version supports regular expressions (set in a object form, the parser for regexps is in development). Parsing algorithm that is used is SLR (as described in "Dragon Book"). Scopus lexer supports any byte-aligned encoding that implements System.Text.Encoding abstract class. Unicode encodings: UTF-8, UTF-16le, UTF-16be as well as old ASCII encoding. UTF-7 is not supported since it is not byte-aligned.