Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gerich-home/prescript

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is it?

This repository contains very basic and quite simple implementation of PostScript language interpreter.

Created back in 2013 (February 6 - February 13) just for fun.

Usage

Build in Visual Studio (tested in VS 2012, should compile in any version above as well).

Run it like

PreScript.exe <path-to-ps-or-eps-file>

It will result in file 1.bmp containing the output or in a failure in case some unsupported operator is found or file does not exsist.

In case the passed document is a multipage document then files named 1.bmp, 2.bmp, ... will be created.

Some sample ps/eps scripts exist in /SampleScripts (taken from here: https://knotplot.com/postscript/index.html) directory.

Some interesting examples are:

  • gameoflife.ps
  • 3compBrunC.eps
  • 3compBrunD.eps
  • CelticB.eps

License

MSPL

About

PreScript - a simple PostScript language interpreter written in C#

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.