Dave Horner's Website - Yet another perspective on things...
67 guests
Rough Hits : 3886522
how did u find my site?

our entire universe; minuscule spec in gigantic multiverse which is mostly lethal.

Computers are useless. They can only give you answers.
--Pablo Picasso (1881 - 1973)
$$\cos x = \sum\limits_{n = 0}^\infty {\frac{{\left( { - 1} \right)^n x^{2n} }}{{\left( {2n} \right)!}}}$$

Parsing code - getting a model view of your source.

Friday, 15 May 2009 00:00
Getting a model of your code is very powerful kung foo.

PEGEX || Parsing Expression Grammars (PEG) recursive descent grammars with Regular Expressions (Regex)

PEG/Regex Parsing Framework - easily define new mini languages that can be equally compiled in many programming languages.
Pegex - metacpan.org - combining Parsing Expression Grammars (PEG) recursive descent grammars, with Regular Expressions(Regex).
pegex - Acmeist PEG Parsing Framework in npm module

pycparser - Project Hosting on Google Code - C parser and AST generator written in Python albertz/PyCParser

gcc code dom

I think the idea of having the compiler spit out an xml model is awesome.
GCC-XML - open-source C++ parser, the C++ front-end to GCC, which is currently able to deal with the language in its entirety. The purpose of the GCC-XML extension is to generate an XML description of a C++ program from GCC's internal representation. Since XML is easy to parse, other development tools will be able to work with C++ programs without the burden of a complicated C++ parser.

Elsa

Elsa is a C and C++ parser which is based on Elkhound which is like Bison. Elkhound Overview

The classics

The LEX & YACC Page Bison - GNU parser generator
Standalone lexers with lex: synopsis, examples, and pitfalls

Sprint parser

Sprint is included within the excellent Boost C++ Libraries. Boost.Spirit Home
CodeProject: JSON Spirit: A C++ JSON Parser/Generator Implemented with Boost Spirit.

ANTLR - From a grammar, ANTLR generates a parser that can build and walk parse trees.

Cscope

Cscope Home Page - Cscope is a developer's tool for browsing source code.
Vim/Cscope tutorial Cscope support has been built into Vim.

BNF Grammars for SQL-92, SQL-99 and SQL-2003

< Prev  Next >
Last Updated on Thursday, 14 August 2014 18:53