|File Search||Catalog||Content Search|
It is meant to be a small - and simple - library. Scanty and meager, and partly because of that easy to use. It has one mission in life: create a semantic parse tree for some arbitrary user for further analysis. It's not a tokenizer, nor is it some generic context-free parser. In fact, context (semantics) is what it's all about - figuring out not just what the grouping of tokens are, but what the _types_ are that the grouping implies.
Sparse is primarily used in the development and debugging of the Linux kernel.
sparse (spärs), adj,., spars-er, spars-est. 1. thinly scattered or distributed; "a sparse population" 2. thin; not thick or dense: "sparse hair" 3. scanty; meager. 4. semantic parse [ from Latin: spars(us) scattered, past participle of spargere 'to sparge' ] Antonym: abundant Sparse is a semantic parser of source files: it's neither a compiler (although it could be used as a front more»
FAQ - Why sparse? Q. Why not just use gcc? A. Gcc is big, complex, and the gcc maintainers are not interested in other uses of the gcc front-end. In fact, gcc has explicitly resisted splitting up the front and back ends and having some common intermediate language because of religious license issues - you can have multiple front ends and back ends, but they all have to be par more»
cgcc(1) cgcc(1) NAME cgcc - Compiler wrapper to run Sparse after compiling SYNOPSIS cgcc [SPARSE OPTIONS]... [COMPILER OPTIONS]... [INPUT FILES]... make CC=cgcc DESCRIPTION cgcc provides a wrapper around a C compiler (cc by default) which also invokes the Sparse static analysis tool. more»
sparse(1) sparse(1) NAME sparse - Semanti more»
The 'sparse' C parser front-end library is copyrighted by Transmeta Corp and other authors and lice more»