The Makefile Parser project is a Java library with the goal to be 100% compatible with GNU Make's parser. The library can be used to parse and analyze Makefiles.
Currently it supports targets, variables, macro expansion and including other makefiles. What still needs to be done is the ifdef, ifeq and ifnew keywords, support for built-in functions and other advanced features of GNU Make.
If you have some experience with writing parsers, interpreters or compilers, then you're welcome to help me out. The project is fairly simple, but the parsing code is a bit complex. No regular expressions are used, just plain read-char-by-char. Please get in touch with me if you're interested and I'll explain more.
The source code can be downloaded form SVN (trunk directory).
For more information about what the final product should support, read the GNU Make manual: http://www.gnu.org/software/make/manual/make.html
Status: Deleted
For Project: Java Makefile Parser
Designated Contact: gcsaba2
Open Date: 2009-11-09 09:28
| Skill | Level | Experience |
|---|---|---|
| Programming Language :: Java | Competent | 6 Mo - 2 yr |
| Topic :: Formats and Protocols :: Data Formats | Want to Learn | < 6 Months |
| Topic :: Software Development :: Compilers | Competent | 6 Mo - 2 yr |
| Topic :: Text Editors :: Text Processing | Want to Learn | < 6 Months |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use