Skip to content
/ amath Public
forked from camoy/amath

An AsciiMath to MathML parser written in C.

Notifications You must be signed in to change notification settings

Larivact/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" | amath
<msup><mi>x</mi><mn>2</mn></msup>

Installing

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

make
make install

The unit tests can also be run from make.

make test

The tests can be checked for memory leaks.

make memory

The official AsciiMath unit tests can be run with:

make otest

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

Languages

  • C 77.0%
  • Makefile 14.6%
  • Shell 8.4%