Internal abstract syntax tree¶
can notebooks will store notes as a json representation of a normalised abstract syntax tree.
Backlinks¶
- can-address
- The
can-address
command will take a string of can's internal AST representation through stdio and output the address of that AST.
- The
- can-ast-at
- The
can-ast-at
command should accept a note address through stdin. It should pipe the internal AST for that address into stdout. If no note is found at that address, the process should exit with a code of2
.
- The
- can-md
- The
can-md
command should take a string of markdown through standard input and will output can's internal ast format for the provided markdown. The default note format will be markdown.
- The
- can-note-graph
can-note-graph
constructs a list of addressed notes with metadata and AST fully prepared for storage. The AST should have any internal links pointing at an address rather than a filename.