Skip to content

nedbat/stilted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stilted

An partial implementation of a subset of PostScript, with graphics by PyCairo, just for fun.

Some things are just wrong:

  • Strings do not nest parentheses.

  • Literal/executable bits are stored on objects, so this is wrong:

    null dup cvx xcheck exch xcheck  -->  true false    % PostScript
    null dup cvx xcheck exch xcheck  -->  true true     % Stilted
    

I've written a bit about Stilted on my blog.

To run it, clone this repo, then you can get an interactive prompt with:

$ python cli.py

or run a PostScript file with:

$ python cli.py the_file.ps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published