Asymptote preprocessor
// momentum
// why it's here
- Active: last commit today
- Around since 2016 and still shipping
// how to help
// readme
TSQX
Asymptote preprocessor for Euclidean geometry diagrams descended from the older TSQ.
Installation
pip install tsqx
Or, Arch Linux users can use AUR.
Syntax highlighting
- NeoVim TreeSitter syntax file
- Older Vim syntax file (using regular expressions)
Documentation
See Wiki.
Example code
~triangle A B C
D ;= foot A B C
E := midpoint A--B
F' N = (rotate -30 E)(extension A (foot A B C) C E)
circumcircle A B C / 0.2 lightgray /
A--B--C--cycle
A--D
B--F' / dashed blue
Generated code: