Tiffany Bennett
ed84a0692e
Use a different approach for stringifying bignums
2016-08-06 23:50:35 -04:00
Tiffany Bennett
92dd33b4ee
WIP better rendering of bignums
2016-08-06 19:53:17 -04:00
Tiffany Bennett
df7be81ff3
Fix parsing error
2016-08-06 19:52:42 -04:00
Tiffany Bennett
f324597328
Experimental GMP version
2016-08-04 23:11:58 -04:00
Tiffany Bennett
d873d5b1d2
Add some API docs
2016-08-04 12:24:55 -04:00
Tiffany Bennett
a3f5908270
Allow bot to be private messaged
2016-08-03 22:52:39 -04:00
Tiffany Bennett
d8eeaa4f04
Shorter output mode for IRC
2016-08-03 22:41:44 -04:00
Tiffany Bennett
730fa56e50
Add a simple IRC bot
2016-08-03 22:21:28 -04:00
Tiffany Bennett
25d0da1f22
Implement addition
2016-08-03 21:20:49 -04:00
Tiffany Bennett
9a97fee866
Better install + instructions
2016-08-03 14:27:36 -04:00
Tiffany Bennett
b1be70a027
Add rustyline support
2016-08-03 13:18:20 -04:00
Tiffany Bennett
953b133262
Allow the use of aliases in expressions
...
I found this useful while attempting to arrive at a given unit. I can do
something such as -> energy or -> power and then the conformance errors
will guide me to which terms I need to add to arrive at a solution.
2016-08-03 13:06:48 -04:00
Tiffany Bennett
75f0c84037
Rename from units-rs to rink
2016-08-03 10:39:08 -04:00
Tiffany Bennett
3e6fe01923
Add a conversion operator with conformance errors
2016-08-03 10:27:38 -04:00
Tiffany Bennett
2a241a36cf
Add line numbers and fix a bug with parsing parens
2016-08-03 09:36:44 -04:00
Tiffany Bennett
0c64be7da7
Fix precedence of /
2016-08-03 09:18:03 -04:00
Tiffany Bennett
4cc6fd4e59
Handle prefixes better
2016-08-03 00:01:18 -04:00
Tiffany Bennett
ba948c7ae8
Allow roots
2016-08-02 23:44:02 -04:00
Tiffany Bennett
57b8674edc
Fix parsing of functions, *, and .123
2016-08-02 23:36:39 -04:00
Tiffany Bennett
5af35c2ef8
Prettier printing of units
2016-08-02 23:08:19 -04:00
Tiffany Bennett
60380852e6
Fix bug where kg
got parsed as something = kg^-1
2016-08-02 23:07:36 -04:00
Tiffany Bennett
3631c19e04
Silence remaining units.txt errors
2016-08-02 22:57:18 -04:00
Tiffany Bennett
194cb5fdf7
Parse <<IMAGINARY_UNIT>>
2016-08-02 22:50:26 -04:00
Tiffany Bennett
51a67f7984
Handle units ending with 's'
2016-08-02 22:44:00 -04:00
Tiffany Bennett
6d7daef125
Handle prefixes and unicode literals
2016-08-02 22:41:44 -04:00
Tiffany Bennett
5d861c9d32
Parse parenthesized expressions
2016-08-02 22:12:22 -04:00
Tiffany Bennett
15228a373b
Fix slightly too eager parsing of aliases
2016-08-02 22:09:08 -04:00
Tiffany Bennett
c136c8a216
Rework .print() and one_line() slightly
2016-08-02 21:21:48 -04:00
Tiffany Bennett
fadab5c53b
Library structure
2016-08-02 21:17:55 -04:00
Tiffany Bennett
a1d3444a72
Fix precedence of juxtaposition and fractions
2016-08-02 21:08:47 -04:00
Tiffany Bennett
c8afaaa62a
Implement evaluator and do REPL unit conversions
2016-08-02 20:51:38 -04:00
Tiffany Bennett
ae8568b991
Fix remaining non-function errors
2016-08-02 16:07:33 -04:00
Tiffany Bennett
5a3576c204
Parse more stuff without errors
2016-08-02 16:01:41 -04:00
Tiffany Bennett
848bb4d4d6
Add TokenIterator, parse aliases
2016-08-02 15:52:41 -04:00
Tiffany Bennett
0b728865ec
Initial commit
2016-08-02 15:33:19 -04:00