mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-03 05:54:33 +00:00
Update version (v0.2.4)
A crash problem with file input has been fixed.
This commit is contained in:
parent
76df45e412
commit
c79fcd5dbe
9 changed files with 37 additions and 19 deletions
|
@ -296,6 +296,10 @@ impl Runnable for ParserRunner {
|
|||
#[inline]
|
||||
fn clear(&mut self) {}
|
||||
|
||||
fn exec(&mut self) -> Result<(), Self::Errs> {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn eval(&mut self, src: Str) -> Result<String, ParserRunnerErrors> {
|
||||
let ast = self.parse_from_str(src)?;
|
||||
Ok(format!("{ast}"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue