This Applet will help you find out where in your Java, C, C++, Pascal, Modula etc. source code you have mismatched {} [] (). It works by displaying your program with coloured backgrounds that encode the nesting. By eyeballing the colours, you can quickly see anomalous patterns, and find where the problem is.
It does not modify your original program in any way. You copy/paste a program, or a piece of a program, into this Applet/application hybrid then click Paste.
There is a program called MASMBalancer that does an analogous task for MASM (Microsoft Assembler) Microsoft assembler.
The BraceBalancer program works by marking up your program with HTML (Hypertext Markup Language). Java has quite a few bugs rendering HTML. You may notice lines improperly collapsed together. To view the marked up code accurately, use the export button, export to a *.html file and view it with your browser.
| Package | Version | Released | Licence | Language | Notes | ||
|---|---|---|---|---|---|---|---|
BraceBalancer |
1.3 | 2012-03-23 | free | Java |
for the current version of BraceBalancer.
helps find unbalanced {} [] () in Java, C, C++, Pascal, Modula etc. source code.
1,500K
zip for BraceBalancer Java source, compiled class files, jar and documentation to run on your own machine either as an application or an Applet.
Runs on any OS that supports Java e.g. W2K/XP/W2003/Vista/W7-32/W7-64/Linux/Ubuntu/Solaris/OSX. First install the most recent Java. To install, extract the zip download with WinZip, (or similar unzip utility) into any directory you please, often J:\ — ticking off the use folder names option. To check out the corresponding source from the Subversion repository, use the TortoiseSVN repo-browser to After you have installed the jar, you can run it as an application. Type: java -jar J:\com\mindprod\bracebalancer\bracebalancer.jar
adjusting as necessary to account for where the jar file is. download ASP PAD XML program description for the current version of BraceBalancer. BraceBalancer is free. Full source included.
You may even include the source code, modified or unmodified
in free/commercial open source/proprietary programs that you write and distribute. Non-military use only. |
||
|
|
You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) |
| http://mindprod.com/applet/bracebalancer.html | J:\mindprod\applet\bracebalancer.html | |
![]() | Please email your feedback for publication,
letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording,
broken/redirected link reports, suggestions to improve this page or comments to
Roedy Green :
| |
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.179.212] | |
| Feedback | You are visitor number 11. | |