Commit graph

14 commits

Author SHA1 Message Date
Tiffany Bennett
af49f5d8b1 Release v0.6.0 2021-04-05 17:31:39 -07:00
Tiffany Bennett
709b5d01b4
Output highlighting (#90)
Adds a token tree based representation for Rink's output, allowing it to be colored. Adds support for this to Rink CLI to get improved appearance.
2021-04-05 16:04:46 -07:00
Tiffany Bennett
c453dfdeb9
Update dependencies (#89) 2021-04-01 16:13:17 -07:00
Tiffany Bennett
622dd31901
CLI improvements (#86) 2021-02-14 20:25:27 -08:00
Tiffany Bennett
b1fad6be3c
Use unified currency API endpoint (#76) 2020-09-20 20:45:22 -07:00
Tiffany Bennett
dbe6a45a0d Rink 0.5.1 2020-08-29 21:57:47 -07:00
Tiffany Bennett
451671da8e Add more tests for digits control 2020-08-29 21:07:33 -07:00
Tiffany Bennett
e4f9fc99c5
Remove custom logic for float to rational (#70) 2020-08-29 19:09:14 -07:00
Tiffany Bennett
bd33ab05e9
Fix crash caused by NaN (#69) 2020-08-29 18:49:59 -07:00
Tiffany Bennett
bf1a66ca84
Rink Web 2 (#62)
* Start over with the web interface

* Add initial stuff

* Extract file+network IO out of rink-core

* Fix cargo warning

* Add tests for rink-web

* Add Serialize to AST types

* Refactor AST

* Split up ast module

* BinOp -> BinOpExpr

* Split out UnaryOpExpr

* Remove Deserialize bound from AST

* Clean up Serialize impl for Numeric

* Convert Expr::Const to struct variant

* Make datetime handling deterministic

* Changes to js API

* Rename rink-web to rink-js

* Add initial npm project

* Add lit-element

* Parse textbox inputs

* Make Expr::Error a variant struct

* Convert Expr::Unit to struct variant

* Don't cache when running npm start

* Convert Expr::Mul to struct variant

* Convert Expr::Date to struct variant

* Convert Expr::Quote to struct variant

* Pretty print json

* Fix warnings

* Switch to svelte

* Remove web components polyfill

* Switch to sapper

* Only load wasm once

* Result component

* Update chrono

* `Utc::now` panics on wasm builds

* Hook up eval

* Disable humanize since it panics in wasm

* SSR test page

* Factor out wasm code into new file

* Make json output better

* Improve json output

* Better json for QueryError

* Add TS definitions for QueryReply

* Render some reply types

* Add proper font

* Add PWA manifest

* Add basic favicon

* Initial styling pass

* Include AST in replies

* Expr component

* Make Numeric json repr more useful

* Indicate approximate values

* Remove duplicate information in definitions

* Split up Result into smaller components

* Search reply

* Add UnitsForReply

* Add UnitListReply

* Add SubstanceReply

* Show dates

* Add DurationReply

* Hook up basic routing

* UI polishing

* Add links to unit pages

* Quantity links

* Split ExprNode and fix whitespace issues

* Fix whitespace issues in NumberParts

* Fix Binop component

* Precedence fixes

* Fix imports

* NumberParts.svelte -> Number.svelte

* Remove App + debug prints

* Fix whitespace in parentheses

* Allow division slash for fractions

* Add home button

* Add aria info

* Improve units for page

* Add links to errors

* Remove rink-irc from workspace

So that cargo test --workspace will work.

* Run all workspace tests in CI

* Remove legacy argument
2020-08-06 16:25:12 -07:00
Tiffany Bennett
1f709eb97e Rename several types via automated refactor 2020-07-18 12:35:06 -07:00
Tiffany Bennett
d8b519c067 Add readme 2020-07-18 02:24:37 -07:00
Tiffany Bennett
8bcd316068 Move files to make cargo publish happy 2020-07-18 02:20:39 -07:00
Tiffany Bennett
a6246ab3c4
Revamp CLI (#59)
* Refactor: Change Dim to struct with named fields

* Move files into `core`, leaving `rink` as the CLI

* Split out completer into separate module

* Clean up cargo files

* Move repl to separate file

* Use clap for rink CLI

* More ways to exit the CLI

* Serde doesn't require nightly for derive anymore

* Hopefully better caching behavior for requests
2020-07-18 02:11:41 -07:00