aboutsummaryrefslogtreecommitdiff
path: root/src/lex/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add help commandIvan Tham2020-11-011-3/+3
| | | | Close #41
* Accept `**` operator as exponentiation (#39)David Tolnay2020-10-121-1/+7
| | | | | * Accept `**` operator as exponentiation * Add test of exponentiation
* fix warnings as well as issues with the cache dirDominik Süß2019-10-141-2/+2
|
* improve highlight for `_`, store program stateNerdyPepper2019-08-061-2/+5
|
* Fix clippy lintsIvan Tham2019-08-031-63/+64
|
* Lazy static lex constantsIvan Tham2019-08-031-58/+57
|
* Add constants (e, pi)Ivan Tham2019-08-031-4/+19
|
* Reuse ans output and fix testsIvan Tham2019-08-031-2/+2
|
* add previous answer accessNerdyPepper2019-07-091-2/+20
|
* add factorial operatorNerdyPepper2019-04-011-24/+33
|
* add radian mode optNerdyPepper2019-03-311-6/+16
|
* add inverse trignometric functions, remainder operatorNerdyPepper2019-03-291-2/+9
|
* handle some more errorsNerdyPepper2019-03-291-0/+7
|
* add copyright notice to all source filesNerdyPepper2019-03-281-0/+4
|
* add rad(), deg() and abs() functionsNerdyPepper2019-03-271-0/+3
|
* implement error handling in operators and functionsNerdyPepper2019-03-231-25/+33
|
* use dirty precedence hack to fix unary once and for allNerdyPepper2019-03-231-4/+7
|
* fix unary operator lexingNerdyPepper2019-03-231-4/+21
|
* add hyperbolic trignometric functions, tabularizeNerdyPepper2019-03-221-10/+13
|
* major refactor, lexer is easier to readNerdyPepper2019-03-221-29/+41
|
* flatten lexerNerdyPepper2019-03-221-12/+7
|
* support unary operators (minus and plus)NerdyPepper2019-03-221-3/+19
|
* add floor and ceil fnNerdyPepper2019-03-221-0/+2
|
* refactor into modulesNerdyPepper2019-03-211-0/+145