Paul Chiusano
59c065727c
Added annotations to source includes
2021-03-31 19:37:40 -05:00
Paul Chiusano
71d6837ec1
Tweaks to Doc AST following feedback from Simon
...
Also added Pretty.table (untested)
2021-03-29 19:49:53 -05:00
Paul Chiusano
7d213d8798
Some tweaks to Doc representation
...
Embedded evaluation type can't include the evaluated result, since that won't be recomputed when the dependencies are updated. Correct approach is to use the watch cache when evaluating embedded expressions in a doc.
2021-03-16 09:42:23 -05:00
Paul Chiusano
4540cac968
IOSource finally compiles with new docs
2021-03-15 11:19:22 -05:00
Paul Chiusano
2258c26a8b
Pretty.map implementation
2021-03-09 11:22:50 -06:00
Paul Chiusano
8aa09b4082
Filled in the rest of doc rendering
...
Done with draft of pure Unison side of doc rendering
2021-03-09 10:33:38 -06:00
Paul Chiusano
a06af31566
Filled in a bunch of rendering function
2021-03-08 16:10:22 -06:00
Paul Chiusano
bf395e573e
Fix inline term and type links
2021-03-04 16:41:42 -06:00
Paul Chiusano
bd4275aeea
Add ConsoleText type and stub out doc renderer
2021-03-04 14:28:47 -06:00
Paul Chiusano
e3e59320f4
WIP on pure Unison doc rendering
...
Rejiggered Doc type to have special forms separate from the doc structure, and filled in pretty-printer implementation. This allows the bulk of doc rendering to happen in pure Unison.
2021-03-04 13:42:12 -06:00
Paul Chiusano
aa47117512
Porting pretty-printer to Unison
...
WIP. In prep for having all the rendering logic for docs be written in Unison.
2021-03-03 16:16:57 -06:00
Paul Chiusano
97deaf5ff3
Fix issue with lexing/parsing of eval blocks
2021-03-03 11:35:45 -06:00
Paul Chiusano
94f18027bd
Fix @source parsing bug; down to 1 parse bug that I know of
2021-03-02 10:18:48 -06:00
Paul Chiusano
3dcfeb1686
fixed several lexer/parser bugs; only 2 remain that I'm aware of
2021-03-01 16:12:51 -06:00
Paul Chiusano
10fa9838a3
fix parse bug with inline @eval blocks
2021-02-19 11:42:51 -06:00
Paul Chiusano
a971ee423b
fixed bug with nested bulleted lists inside numbered lists
2021-02-17 22:35:54 -06:00
Paul Chiusano
c43951152c
fix bug with non-Unison fenced code blocks
2021-02-17 21:51:18 -06:00
Paul Chiusano
e8b6df076e
started on sample file to exercise all the doc2 syntax, fixed several bugs in the process
2021-02-12 21:37:37 -06:00