Syntax I

A weblog for CAS LX 522

October 13, 2005

How do you typeset trees?

Filed under: Trivia — Paul Hagstrom @ 12:06 am

When I’m writing up the keys and homework, I generally use Arboreal, which is a (not free, but pretty cheap) font. With it, I can go pretty quickly and do what I need to do.

There are a few tree-drawing tools on the web too that you might look at. I’ve really only glanced at these. They may be more trouble than they’re worth, but if you’re adventurous, you can try them out. Note, though, that sometimes the assumptions they make about the syntax aren’t exactly the same as the assumptions we’re making (e.g., they might provide an “IP” where we would use a “TP”, that sort of thing).

The Syntax Student’s Companion is a Java applet that lets you draw trees. I’m not sure how to save them, but perhaps it’s possible.

The phpSyntaxTree program will convert labeled brackets into trees for you.

The TreeForm project is another tree-drawer, of the same basic type as the Syntax Student’s Companion, runs on Mac and Windows. But I can’t seem to get it to do anything, perhaps the “alpha” designation is serious.

There are others out there, if you find one that seems useful, let me know…

No Comments

No comments yet.

Powered by WordPress