phpSyntaxTree - drawing syntax trees made easy

Phrase (labelled bracket notation):

Open brackets: Closed brackets:

About

phpSyntaxTree allows you to generate graphical syntax trees from labelled bracket notation phrases. You can then include the graphics into your homework or assignments.

Please send your comments and suggestions to andre@ironcreek.net.

Usage

Enter a phrase above using labelled bracket notation. Click "Draw" to create a syntax tree graph for the entered phrase. You can right-click on the generated tree image to copy-and-paste it into your documents, or left-click the tree image to download it.

To create a node with subscript parts, separate the subscript part using the _ character. For example "NP_1" will show in the graph as NP1. Optionally, select Auto subscript, to automatically number all equally named nodes (NP1, NP2 etc.).

Disable color and/or smooth lines to create a more black & white printer friendly image.

News

2006-08-02 - phpSyntaxTree moved to Google

phpSyntaxTree is now hosted on Google Code instead of SourceForge. The issue tracker and code repository can now be found here:
http://code.google.com/p/phpsyntaxtree

2005-08-25 - We speak dutch!

The dutch translation of phpSyntaxTree is now available.

2005-08-20 - We speak German!

phpSyntaxTree is now also available in German! Your web-browser language preference is automatically detected and the matching language (if available) is displayed.

If you would like to contribute any other language, please send email to andre@ironcreek.net.

2005-06-07 - phpSyntaxTree 1.10 released

Version 1.10 of phpSyntaxTree offers minor fixes and improvements aimed at making local installations of phpSyntaxTree easier. The included README file has also been updated to help with the installation.

2005-04-06 - phpSyntaxTree 1.9 released

Version 1.9 of phpSyntaxTree is mainly a maintenance release. Slight improvements with the input field sizing as well as tab character handling have been made together with some minor HTML cleanup.