<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pygments-git.git/tests/examplefiles/maxima/foo.mac.output, branch 2.12.0</title>
<subtitle>github.com: pygments/pygments.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/'/>
<entry>
<title>Lexer for new language Maxima (#1885)</title>
<updated>2021-09-04T14:18:28+00:00</updated>
<author>
<name>Robert Dodier</name>
<email>robert.dodier@gmail.com</email>
</author>
<published>2021-09-04T14:18:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=27553980170fcaa02bcd87a02a1954b0ec09242b'/>
<id>27553980170fcaa02bcd87a02a1954b0ec09242b</id>
<content type='text'>
* New lexer for Maxima computer algebra system

 * New lexer class MaximaLexer
 * Update _mapping.py to include Maxima lexer
 * New test input file maxima/foo.mac

I find that the commands

$ python3 -m pygments -O full -f html -o /tmp/foo.html tests/examplefiles/maxima/foo.mac

$ python3 -m pygments -x -l pygments/lexers/maxima.py:MaximaLexer tests/examplefiles/maxima/foo.mac

both produce expected output.

* Commit output from pytest --update-goldens for Maxima example file

Commit output from pytest tests/examplefiles/maxima --update-goldens
as obtained by Cameron Smith.

* Rename output file for test of Maxima lexer.

* In Maxima lexer, capture content of comment
all at once, instead of capturing each character separately.

Update expected output for example input file, as produce by:

$ pytest tests/examplefiles/maxima --update-goldens

* In lexer for Maxima language, identify whitespace characters as such
instead of just calling them Text.

* In lexer for Maxima language, identify comma, semicolon, and dollar sign
as Punctuation instead of Text.

* In lexer for Maxima language, cut encoding comment, and put in license statement.

* In lexer for Maxima language, identify keywords and other fixed strings such as operators
via the words function, instead of a long regex with alternation.

Incidentally update the example output, for which one symbol
(namely "done") has changed classification.

* In lexer for Maxima language, include additional test input and update output accordingly.

* In lexer for Maxima language, relax pattern for integers,
so integers are more accurately identified.

Update test example output accordingly.

* In lexer for Maxima language, adjust pattern for float numbers.
Include additional test input for floats and update expected output.

* In lexer for Maxima language, define analyse_text function.

* In lexer for Maxima language, correct errors identified by make check

(1) adjust package name underline
(2) put in copyright notice

Co-authored-by: Robert Dodier &lt;robert_dodier@users.sourceforge.net&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* New lexer for Maxima computer algebra system

 * New lexer class MaximaLexer
 * Update _mapping.py to include Maxima lexer
 * New test input file maxima/foo.mac

I find that the commands

$ python3 -m pygments -O full -f html -o /tmp/foo.html tests/examplefiles/maxima/foo.mac

$ python3 -m pygments -x -l pygments/lexers/maxima.py:MaximaLexer tests/examplefiles/maxima/foo.mac

both produce expected output.

* Commit output from pytest --update-goldens for Maxima example file

Commit output from pytest tests/examplefiles/maxima --update-goldens
as obtained by Cameron Smith.

* Rename output file for test of Maxima lexer.

* In Maxima lexer, capture content of comment
all at once, instead of capturing each character separately.

Update expected output for example input file, as produce by:

$ pytest tests/examplefiles/maxima --update-goldens

* In lexer for Maxima language, identify whitespace characters as such
instead of just calling them Text.

* In lexer for Maxima language, identify comma, semicolon, and dollar sign
as Punctuation instead of Text.

* In lexer for Maxima language, cut encoding comment, and put in license statement.

* In lexer for Maxima language, identify keywords and other fixed strings such as operators
via the words function, instead of a long regex with alternation.

Incidentally update the example output, for which one symbol
(namely "done") has changed classification.

* In lexer for Maxima language, include additional test input and update output accordingly.

* In lexer for Maxima language, relax pattern for integers,
so integers are more accurately identified.

Update test example output accordingly.

* In lexer for Maxima language, adjust pattern for float numbers.
Include additional test input for floats and update expected output.

* In lexer for Maxima language, define analyse_text function.

* In lexer for Maxima language, correct errors identified by make check

(1) adjust package name underline
(2) put in copyright notice

Co-authored-by: Robert Dodier &lt;robert_dodier@users.sourceforge.net&gt;</pre>
</div>
</content>
</entry>
</feed>
