elkowar
776dc787e7
Add matches function to simplexpr
2022-04-19 13:49:28 +02:00
MartinJM
0f9847c518
Add several functions for simple expressions ( #407 )
...
Co-authored-by: elkowar <5300871+elkowar@users.noreply.github.com>
Co-authored-by: MartinJM <>
2022-04-19 13:29:17 +02:00
elkowar
aa54487c47
Update to latest nightly
2022-04-13 15:19:39 +02:00
viandox
b100704bc7
fixes #424 allow tabs in simplexpr ( #426 )
2022-04-13 14:54:02 +02:00
viandox
3fc24a9c72
Add more operators ( #401 )
2022-02-15 10:12:35 +01:00
Pedro Burgos
ee07598a03
Fix anyhow's glob imports ( #391 )
2022-02-03 20:37:00 +01:00
ElKowar
6fec568176
State rework ( #335 )
2021-11-15 20:06:44 +01:00
Animesh Sahu
80b89dd391
Implement trigger for defpoll variable ( #273 )
...
* Implement trigger for defpoll variable
* Rename functions and configuration properties, edit docs to show sample usage, improve nearby fields in docs.
2021-09-11 18:01:41 +02:00
legendofmiracles
634724bf29
Makes code more rusty/idiomatic ( #264 )
...
* makes eww code more idiomatic
* makes simplexpr more idiomatic
* makes yuck more idiomatic
2021-09-11 12:43:44 +02:00
Florian Proksch
07a9b97e5b
fix: correct gt and lt parsing
2021-09-05 17:51:30 +02:00
elkowar
3f65733d12
feat(simplexpr): allow json literals in simplexprs
2021-08-25 14:52:14 +02:00
elkowar
f83ad913be
Clean up example bar
2021-08-18 16:21:04 +02:00
elkowar
4942925859
Cleanup and update dependencies
2021-08-18 15:24:00 +02:00
elkowar
7abf38cbfc
Include spans in var_refs of simplexpr
2021-08-17 11:53:45 +02:00
elkowar
c20b172662
Fix representation of string-interpolations by adding a dedicated concat AST variant
2021-08-17 11:10:48 +02:00
elkowar
ec8b12d206
Allow digits in identifiers in simplexpr
2021-08-10 14:30:33 +02:00
elkowar
eb3c2646a0
Add did you mean question to wrong variables
2021-08-02 15:54:38 +02:00
elkowar
afd0a47bf2
Remove redundant information
2021-07-31 20:01:42 +02:00
elkowar
ebf9c7e7ef
Unify error messages and remove unused code
2021-07-31 16:01:20 +02:00
elkowar
24c9fee204
Fully implement string interpolation with ${} syntax
2021-07-31 13:44:23 +02:00
elkowar
5cde0228fb
Allow for string-interpolation in simplexpr
2021-07-30 16:33:28 +02:00
elkowar
41093cf0af
Replace lazy_static with once_cell
2021-07-29 15:30:00 +02:00
elkowar
8fea52bda9
Allow for comments in simplexpr
2021-07-28 17:16:01 +02:00
elkowar
99fd51dc12
Improve error messages for unknown variables in evalerror
2021-07-27 17:24:40 +02:00
elkowar
01c7ba6e2a
Add alternative string syntax with single quotes and backticks
2021-07-27 00:11:16 +02:00
elkowar
e698fd315e
Fix multi-point unicode glyphs in yuck lexer
2021-07-26 23:10:01 +02:00
elkowar
de8c79bc7d
Add magic variables again
2021-07-26 22:43:33 +02:00
elkowar
680ab9d633
Add Spanned trait and use it
2021-07-26 20:23:06 +02:00
elkowar
16ebf7683a
Get rid of Option<Span> by replacing it with dummy spans
2021-07-26 19:39:44 +02:00
elkowar
bb741f343d
Include file_id in LexicalError
2021-07-26 19:22:05 +02:00
elkowar
ee933fccf5
Readd some tests and as_vec dynval transformation
2021-07-26 18:48:15 +02:00
elkowar
ed73938af1
implement ToDiagnostic for more things
2021-07-24 17:56:44 +02:00
elkowar
680498df82
Fix lexer string escaping
2021-07-23 18:24:42 +02:00
elkowar
9f70a22cf0
significantly better error message handling everywhere
2021-07-23 13:45:30 +02:00
elkowar
4bf3c6fd63
It compiles :o
2021-07-22 18:40:43 +02:00
elkowar
c752cc928e
good progress - state stuff is still broken, and I'm confused
2021-07-21 21:47:02 +02:00
elkowar
38f5307417
Start migration
2021-07-21 20:30:02 +02:00
elkowar
0c137c8b20
Move to crates directory
2021-07-21 19:20:47 +02:00