Home

Jim Michaels
Attachments
readme.txt (2031 bytes)

brace matcher

brace matcher (actually a lexical analyzer) that ignores proper comments. slash-splat will consume a slash-slash. a / or / within a // will be ignored.

Intended for C/C++ and PHP, but now works with optional angle brackets for xml, html, wml, xhtml. shows the location of the brace errors. Ignores linefeeds and looks for \n and \r. in PHP, brackets in double-quotes strings count. in C++ they don't. single-quoted strings are not handled. This project was created because the brace-matcher in an editor is not enough when PHP or C++ compiler starts giving weird bracket errors. I need something to verify what's going on and give me a detailed report. This is a programmer's tool. not a whole language syntax checker like lint, but a brace checker with some smarts. can handle C++/PHP/JS/Java style strings and comments, and optionally, angle brackets. normally handles () {} [] only.

license

brace matcher is under the gpl3 license.

documentation

please read the readme.txt file
https://sourceforge.net/p/bracematcher/home/Home/attachment/readme.txt


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks