Skip to content
/ unreal Public

Van Wyk's IDEAL picture language redone in Python

License

Notifications You must be signed in to change notification settings

darius/unreal

Repository files navigation

unreal

Christopher Van Wyk's IDEAL picture language redone in Python: or anyway, some subset thereof, as far as I get, for the sake of understanding it better. This currently doesn't do:

  • arcs
  • re, im, conj functions
  • boundaries and set operations

What it does do:

  • solve so-called 'slightly nonlinear' constraints
  • default constraints (like a ~ b)
  • other built-in functions
  • lines, splines, circles
  • pens (for a constant number of segments)

To run it: python unreal.py sourcefile1 sourcefile2 ... >out.svg

This uses Parson for parsing.

The full language is explained in the IDEAL User's Manual.

Other interpreters I know of (and so far have only glanced at):

About

Van Wyk's IDEAL picture language redone in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published