CMU Artificial Intelligence Repository
Home INFO Search FAQs Repository Root

PARCIL: A Parser for C syntax In Lisp

lang/lisp/code/syntax/parcil/
PARCIL is a parser for a subset of the syntax for the C programming language. PARCIL is written in Common Lisp, making it potentially a useful building block for user interfaces for people who do not like prefix syntax. PARCIL is a recursive descent parser optimized to parse C. This makes it fairly brittle and difficult to modify. However, it does make it fairly fast, and it also allows the parser to deal with lots of C idiosyncrasies which are difficult to implement in general-purpose parsers, such as operator precedence and prefix and postfix operators. It can also parse floating point numbers. NOTE: PARCIL is incomplete, providing no support for high-level C constructs, and does very little error checking.
Origin:   

   E-mail to Mark Kantrowitz

Version: 0.1a Requires: Common Lisp Copying: GNU GPL. Copyright (c) 1992 by Erann Gat. Updated: Thu Aug 25 13:54:45 1994 CD-ROM: Prime Time Freeware for AI, Issue 1-1 Author(s): Erann Gat or JPL MS 525-3660 4800 Oak Grove Drive Pasadena, CA 91109 Tel: 818-306-6176 Keywords: Authors!Gat, C Parser, Floating Point Numbers, GNU GPL, Lisp!Syntax, PARCIL References: ?
Last Web update on Mon Feb 13 10:30:43 1995
AI.Repository@cs.cmu.edu