Joel Natividad
b3a8ef8b66
bump regex from 1.6 to 1.7; unicode-segmentation from 1.9 to 1.10 ( #34 )
2023-03-29 23:48:07 +02:00
Kasper
1ed93a51cc
Delete FUNDING.yml
2023-03-10 03:33:55 +01:00
Kasper
f621fae432
Update changelog
2023-01-02 11:16:00 +01:00
Kasper
1ff4b7c45a
Add windows-aarch64 build
2023-01-02 11:00:39 +01:00
Kasper
b08dbdf0f7
Bump version
2022-12-30 12:46:22 +01:00
Kasper
81f5f9d401
Add release action
2022-12-30 12:42:24 +01:00
Kasper
de79887331
Add marathon
2022-12-30 11:04:47 +01:00
Kasper
17db26c685
Update CI
2022-12-05 00:52:30 +01:00
Kasper
6ee30b867f
Remove comments
2022-09-12 00:47:48 +02:00
Kasper
4ac7e74c6b
Switch indentation to tabs
2022-09-12 00:47:20 +02:00
Kasper
1bb3819350
Use rustfmt for some files
2022-09-12 00:45:29 +02:00
Joel Natividad
a64081ac73
Apply select clippy recommendations ( #27 )
...
* Bump dependencies to minor version; 2021 edition
* apply clippy recommendations
* go back to match statement
* consolidate clippy allows
* pare down lints
- remove nursery level lints
- sort lints
* pared down lint allows
2022-09-11 23:37:01 +02:00
Kasper
213789b568
Merge pull request #26 from jqnatividad/master
...
Bump dependencies to minor version; 2021 edition
2022-09-11 21:12:48 +02:00
Joel Natividad
cc8f8f0a2c
Bump dependencies to minor version; 2021 edition
2022-09-11 13:57:05 -04:00
Kasper
d3f1bf20ee
Remove trailing semicolon
2022-02-23 05:19:01 +01:00
Kasper
c795c15fc5
Add test ci
2022-02-23 05:15:01 +01:00
Kasper
e07b9ff868
nothing
2021-08-17 23:38:02 +02:00
Kasper
7d807424a8
v1.8.0
2021-08-16 06:37:49 +02:00
Kasper
a86865e856
Fix implicit start/end parentheses
2021-08-16 06:32:40 +02:00
Kasper
d8af50d991
Merge pull request #23 from Pyther99/fix-clippy-lints
...
Fix clippy lints
2021-08-16 06:15:52 +02:00
Kasper
1196fcf458
Merge pull request #22 from djmattyg007/data_rates
...
Add support for data rate units
2021-08-16 06:00:03 +02:00
Kasper
e70eda990b
Create FUNDING.yml
2021-08-15 01:13:48 +02:00
Matthew Gamble
45dfe129dc
Add support for data rate units
...
This permits the following calculations:
10 kilobytes per second * 6 seconds = 60 kilobytes
500 megabytes / 100 megabytes per second = 5 seconds
1 gibibit per second * 1 hour = 3600 gibibits
2021-07-25 10:36:04 +10:00
Kasper
f45aae15e0
Merge pull request #17 from djmattyg007/divide_distance_by_speed
...
Support dividing lengthes by speed
2021-07-17 14:54:43 +02:00
Matthew Gamble
4d8e802520
Support dividing lengthes by speed
...
The result has a unit of time.
2021-07-17 13:39:53 +10:00
Pyther99
6b46d69c72
remove usage of matches! macro
2021-07-14 20:55:05 +02:00
Pyther99
07bf7b48e1
Remove cmp comparison
2021-07-14 07:50:20 +02:00
Kasper
6aeee32168
v1.7.0
2021-07-14 00:03:28 +02:00
Pyther99
634dff682b
more idiomatic syntax
2021-07-13 19:55:42 +02:00
Pyther99
beb1ea7506
improve comparisons
2021-07-13 19:55:29 +02:00
Pyther99
3ee5e00b11
remove return statements
2021-07-13 19:55:04 +02:00
Kasper
2ccee2ccd2
Merge pull request #21 from djmattyg007/more_operators_in_lexer
...
Further improvements to operator parsing in lexer
2021-07-07 20:46:42 +02:00
Matthew Gamble
59b20389ba
Further improvements to operator parsing in lexer
...
- Add support for phrases 'multiplied by' and 'divided by'
- Add support for the division operator symbol ÷
- Fixed lexing of revolutions per minute units
2021-07-07 23:23:16 +10:00
Kasper
99943ecacd
Fix Ω lexing
2021-07-07 05:36:57 +02:00
Kasper
2d457de7f1
Disallow named number followed by smaller named number
...
like 1 million thousand
2021-07-07 04:21:44 +02:00
Kasper
3137979d55
Merge pull request #18 from probablykasper/lexer-multiword
...
Improve multiword lexing
2021-07-07 01:57:11 +02:00
Kasper
ee2245dcb0
Revert accidental main.rs changes
2021-07-06 22:43:28 +02:00
Kasper
a903dfd633
Merge pull request #19 from djmattyg007/initial_clippy_fixes
...
Various bits of cleanup suggested by clippy
2021-07-06 22:39:36 +02:00
Kasper
f25c88cf0e
Remove debug logs
2021-07-06 22:35:03 +02:00
Kasper
c4d1cb1371
Match alphabetic characters directly, make stuff private
2021-07-06 20:25:29 +02:00
Kasper
c3f7166d28
Fix lexing of π with unit afterwards
...
e.g `πm`
2021-07-06 19:59:20 +02:00
Kasper
10f79dc78f
Fix π lexing
2021-07-06 19:49:52 +02:00
Kasper
0c1d2b38c1
Add more tests by @djmattyg007
2021-07-06 19:06:50 +02:00
Kasper
84f604a96e
Remove unnecessary lexer recursion
2021-07-06 17:59:54 +02:00
Kasper
1973c7281f
Fixed suggested by @djmattyg007
2021-07-06 17:59:07 +02:00
Matthew Gamble
d60d534014
Various bits of cleanup suggested by clippy
...
It would be good to incorporate clippy into the CI pipeline once it's up
and running.
2021-07-06 23:30:49 +10:00
Kasper
e30810c997
Add tests by @djmattyg007
2021-07-06 07:17:43 +02:00
Kasper
c550f279c1
Add operator words plus, minus, times
2021-07-06 07:17:30 +02:00
Kasper
8a7603bc6e
Fix watt parsing
2021-07-06 07:07:37 +02:00
Kasper
b435833b98
Fixed pound not lexed at the end of the input
2021-07-06 06:16:43 +02:00