nccgroup / ncccodenavi

NCC Code Navigator
GNU Affero General Public License v3.0
55 stars 10 forks source link

Lexical analyser and language grammars #34

Open olliencc opened 11 years ago

olliencc commented 11 years ago

The goal will be to implemented a lexical analyser and appropriate grammars to support most of the common akin to OpenGrok.

OpenGrok (https://github.com/OpenGrok/OpenGrok) uses JFlex (http://www.jflex.de/).

This will be one big bit of effort here so will need some upfront thought.

olliencc commented 11 years ago

From: http://stackoverflow.com/questions/3594361/c-c-c-vb-based-lexical-analyzers

C# GPLEx is a generator for lexical scanners accepting a “LEX-like” input specification and produces a C# output file (C# 2 with generics). Grammatica is a C# and Java parser generator ANTLR parser generator that supports generating code in C, Java, Python, C#, and Objective-C C# Lex C# Flex < A port of JFlex