Skip to content

Limit-LAB/promptc-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

promptc-rs

use block parser

use promptc::block::Unit;
let unit: Result<Unit, _> = Unit::from_str("...");

use example

> cargo run --example exam abc
    Finished dev [unoptimized + debuginfo] target(s) in 0.03s
     Running `C:\Users\enter\projects\.cargo\targets\debug\examples\exam.exe abc`
Ok(Unit([Expr { normal_text: "abc", interp: None }]))

Releases

No releases published

Packages

No packages published

Languages