12487ca3b7
chore(fmt): format code
2023-08-16 19:26:06 +05:30
f3a7cb2260
refactor: calm clippy and remove unused imports
2023-08-15 11:37:32 +05:30
a2de4eb70b
fix: push_str instead of write macro
...
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
2023-08-15 11:34:00 +05:30
682bf7cee1
fix: inline error formatting (x2)
...
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
2023-08-15 11:33:36 +05:30
d02683f622
fix: inline error formatting
...
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
2023-08-15 11:33:13 +05:30
3ffc914bf5
fix: use char separator for source code addition
...
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
2023-08-15 11:32:52 +05:30
57f6985740
fix: history file initialization path
...
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
2023-08-15 11:32:11 +05:30
aa50d3e5af
refactor: simplify history file path err handling
2023-08-14 22:59:29 +05:30
90d51aeaf6
feat: impl input continuation
2023-08-14 22:29:51 +05:30
bef0df6d91
fix: remove orphan testing code
2023-08-14 20:20:23 +05:30
1051d55cdc
fix: remove testing code
2023-08-14 20:16:51 +05:30
a3f88fac4a
fix: write to lune_history file, not homedir
2023-08-14 20:13:49 +05:30
431f0ff666
refactor: implemented requested changes
...
* makes use of `directories` instead of `home`
* use `anyhow::Result` instead of more verbose `Result<_, anyhow::Error>`
* removes redundant match statement
* removes NO_COLOR logic, already handled by `console` library
2023-08-14 16:14:06 +05:30
35a29a1b1f
refactor: remove unnecessary context preservation code
2023-08-12 21:08:31 +05:30
37c8582c4e
fix: improved regex pattern, removes backrefs
2023-08-11 12:07:24 +05:30
f9919a40aa
feat: initial context preservation
...
This allows the REPL to now preserve context, such as previously
declared variables which can be used in future eval steps.
Currently is only supported for variables, support for other types to be
included soon.
2023-08-09 21:49:42 +05:30
508c2836e3
feat: error formatting
2023-08-09 18:14:08 +05:30
6d4fa87353
feat: save history to file
2023-08-07 12:37:20 +05:30
87cca0f04b
refactor: move REPL logic to separate module
2023-08-07 12:28:55 +05:30