Comments (3)
I have added some basic support for absolute value symbols in the branch feat/abs.
However, since we have based grouping of expressions on the distinction of opening "(" and closing parenthesis ")", braces and brackets, parsing "|" symbols is considerably more difficult. We should make use of the "\left" and "\right" macros to determin if it is a opening or closing pipe. Other macros that should be supported must also be researched further.
Please, feel free to try to fix the problems marked with "TODO" in the post-parser.js file. Alternativley, implement the "\left" and "\right" macros.
from tex2max.
@andstor Ah, awesome thank you! Yeah I imagined that was why it wasn't in master. I'll take a look and see how hard I think it would be.
One thing I was noticing is I didn't see any unit tests, was wondering if you thought that might be something worth adding to ease development and prevent regressions?
from tex2max.
@mattvague Yes, we should definitely add unit testing. I have created an issue #29. Help would be much appreciated.
from tex2max.
Related Issues (20)
- Prepend transpiled symbolic constant names with % sign
- Add unit testing HOT 1
- Possible security issue HOT 1
- Fraction should be wrapped in brackets
- Sine argument rules
- Decimals aren't supported HOT 4
- Add support for sets
- Add support for lists
- Curly brackets and square brackets shouldn't be treated as normal parentheses
- Add support for decimal comma
- Some Matrix environments fail transpilation
- Browser (UMD) build is broken HOT 1
- Unfinished merge conflict committed to codebase HOT 1
- Operations with functions HOT 12
- times sign (the asterisk) is in the result HOT 1
- Can you add an html input output interface?
- Importing into an angular project via npm / index.html
- Parse mathematical constants "e" and "pi" HOT 1
- Add support to logarithms with different bases
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tex2max.