TritonVM / tasm-lang

Writing tasm with Rust syntax
15 stars 2 forks source link

Add `Span` to our intermediate language #37

Open Sword-Smith opened 11 months ago

Sword-Smith commented 11 months ago

The Rust tokens all have a Span value that identifies where in the source code the token was read. We should add this Span value to our intermediate language defined in src/ast.rs.

Cf. https://doc.rust-lang.org/reference/procedural-macros.html#the-proc_macro-crate