Commit graph

8 commits

Author SHA1 Message Date
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