Skip to content

kalina235/rep2rep

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oruga

A framework for encoding the structure of representations and their transformations.

Getting started

The project is written in Standard ML. You need to have Poly/ML installed: https://polyml.org/.

Build rep2rep by running make in the rep2rep directory. Then you can type

dist/rep2rep arithDotsDoc

to test one example included in the repo. Replace arithDotsDoc with your oruga input file. Doing this should generate a file in the rep2rep/output/latex/ directory called test.tex, from which you can compile a pdf. If you can get this done it means things are working well and you're ready to do something more sophisticated.

The oruga language

We have an input language for specifying type systems, constructor specifications, constructions, and transfer schemas. You can find examples of its use in the folder rep2rep/input.

For developers

If you run make repl in the rep2rep directory this will load the basis for rep2rep. Once you are in you can type Standard ML commands. For example run import "oruga/document" to load the whole implementation (this particular file import everything).

About

Math analogy fork

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Standard ML 94.5%
  • TeX 4.1%
  • Python 1.1%
  • Other 0.3%