Switch back to org-mode for the parsing binary.
This commit is contained in:
parent
cf25a849c0
commit
77f2d23036
@ -2,15 +2,13 @@
|
||||
use crate::init_tracing::init_telemetry;
|
||||
use crate::init_tracing::shutdown_telemetry;
|
||||
use ::organic::parser::document;
|
||||
use organic::parser::sexp::sexp;
|
||||
mod init_tracing;
|
||||
|
||||
const TEST_DOC: &'static str = include_str!("../toy_language.txt");
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
init_telemetry()?;
|
||||
// let parsed = document(TEST_DOC);
|
||||
let parsed = sexp(TEST_DOC);
|
||||
let parsed = document(TEST_DOC);
|
||||
println!("{}\n\n\n", TEST_DOC);
|
||||
println!("{:#?}", parsed);
|
||||
shutdown_telemetry()?;
|
||||
|
@ -1,5 +1 @@
|
||||
(org-data nil
|
||||
(section
|
||||
(:begin 1 :end 9 :contents-begin 1 :contents-end 9 :post-blank 0 :post-affiliated 1 :parent #0)
|
||||
(diary-sexp
|
||||
(:value "%%(foo)" :begin 1 :end 9 :post-blank 0 :post-affiliated 1 :parent #1))))
|
||||
%%(foo)
|
||||
|
Loading…
Reference in New Issue
Block a user