stack_maxima_parser

Crates.iostack_maxima_parser
lib.rsstack_maxima_parser
version0.1.5
created_at2025-03-07 11:09:57.69367+00
updated_at2025-11-10 14:23:44.984528+00
descriptionParser for the Modified Maxima syntax used in STACK.
homepagehttps://github.com/aharjula/stack_maxima_parser
repositoryhttps://github.com/aharjula/stack_maxima_parser
max_upload_size
id1582721
size430,334
Matti Harjula (aharjula)

documentation

README

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.5 some special assignment operator behaviour.
  • 0.1.4 plenty of extra operators and work on operator precedence, also the storage format of the tables has slightly changed
  • 0.1.3 fixed comment tokeniser and added logic to fallback to interpret KEYWORDs as IDs also @ as infix operator
  • 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.

Commit count: 5

cargo fmt