#stack #parser #maxima

stack_maxima_parser

Parser for the Modified Maxima syntax used in STACK

3 releases

0.1.2 Mar 19, 2025
0.1.1 Mar 10, 2025
0.1.0 Mar 7, 2025

#62 in Parser tooling

Download history 217/week @ 2025-03-05 31/week @ 2025-03-12 152/week @ 2025-03-19 5/week @ 2025-03-26

405 downloads per month

MIT license

260KB
11K SLoC

stack_maxima_parser

This is a library for those of us that want to parse STACK-Maxima syntax, i.e. the logic parts of STACK-questions.

Currently this has no real error handling, but maybe the world changes.

Basically, this is a LALR(1) parser, built on exploratory work at the STACK side.

For who?

In particular, this will probably be of use to those building quick modification scripts working on their gitsync-clones of large question-banks. Probably combined with this another library related to question-XML processing.

Current state of development

Early days for this lib, expect new features as needs arise.

Changelog:

  • 0.1.2 some fixes to that extraction logic, also define behaviour for empty input
  • 0.1.1 the string extraction utility logic was tuned
  • 0.1.0 the first release

Docs...

Check the tests, those should tell everything worth knowing. Or compile the rustdoc for a list of things.

Dependencies

~1–1.5MB
~28K SLoC