Skip to content

camoy/amath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amath

amath is a parser which converts AsciiMath to MathML. It uses the leg parser generator. It is written so it may be ported to other languages easily, but can certainly be used as a library itself.

Usage

AsciiMath is read and the equivalent MathML is printed.

echo "x^2 + y^2 = z^2" | amath

Installing

Use make to build and install amath and the shared library libamath.

make
make install

The amath unit tests can be run with the test target.

make test

The official AsciiMath unit tests can be run with the otest target.

make otest

The memory target uses valgrind to check for memory leaks in the amath unit tests.

make memory

Legal

This software is in the public domain. Anyone is free to use and distribute it for any purpose.

amath is maintained by Cameron Moy.

About

An AsciiMath to MathML parser written in C.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •