Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

PyTex

Implementing a typesetting system for mathematical formulas using TeX algorithms and fonts inside Python without relying on an external TeX installation is a complex task

output PyTex

Compiler

  • Compiler design part is completed, which you can see from the /compiler folder.
token_specification= [
('NUMBER', r'\d+(\.\d*)?'), # Integer or decimal number
('IDENT', r'[A-Za-z]'), # Identifiers (variables)
('OP', r'[+\-*/^]'), # Arithmetic operators
('FRAC', r'\\frac'), # Fraction
('LBRACE', r'\{'), # Left brace
('RBRACE', r'\}'), # Right brace
('WS', r'\s+'), # Whitespace
('MISMATCH', r'.'), # Any other character
]

About

Implementing a typesetting system for mathematical formulas using TeX algorithms and fonts inside Python without relying on an external TeX installation is a complex task

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

1 watching

Forks

Contributors

Languages