drbeefsupreme
5b65288268
dprint: add styled text first run
...
mostly just to get something working, next i will clean up syntax
2022-06-30 11:39:06 -04:00
drbeefsupreme
8f48f08f1a
dprint: change to batch comment syntax
2022-06-28 12:12:03 -04:00
drbeefsupreme
8cb392fbba
dprint: comment for library
2022-06-09 16:21:48 -04:00
drbeefsupreme
a8e28cc632
dprint: remove chapter-id from %chapter item
...
redundant with the name
2022-06-09 15:19:39 -04:00
drbeefsupreme
832d483388
dprint: cleanup some logic around %hint types
...
deduplicating some code and making it a bit easier to understand. still
kind of a mess, but its progress and all tests are passing
2022-06-09 14:40:45 -04:00
drbeefsupreme
8f0bc304df
dprint: help from hint uses second type, pass test
...
still not entirely sure what's different in the two types in a %hint
type, but this change made a bunch of the unit tests go from failing to passing
2022-06-09 13:46:21 -04:00
drbeefsupreme
62716ff976
dprint: name core containing types
2022-06-09 11:35:10 -04:00
drbeefsupreme
693226bca3
dprint: deduplicate role of +signify
...
some of the functionality of +signify was being done elsewhere, this
moves it into +signify
2022-06-09 11:33:29 -04:00
drbeefsupreme
f7d0d3e5a1
dprint: missed |^ in last commit
2022-06-09 11:18:10 -04:00
drbeefsupreme
605960eb3a
dprint: simplify and fix core/chapter/arm search
...
the main issue fixed was with looking inside of chapters for arms didn't work
2022-06-09 11:04:09 -04:00
drbeefsupreme
a3ddde7cfc
dprint: compile default arm in core against core
...
previously it was only compiling against the context, which meant it
broke if an arm referred to another arm
2022-06-08 15:41:04 -04:00
drbeefsupreme
0972c85e91
dprint: arms calling other arms dont steal doccord
...
i thought this would be a neat feature but ted called it too clever and
probably not what you really want. this code is atrocious though and
needs some serious cleanup
2022-06-08 15:39:40 -04:00
drbeefsupreme
6e02e35862
dprint: fix issues with core types
...
not actually sure this is correct yet, but it fixed the issue where
there would be a crash when looking for docs in an arm like +bar in
|%
++ foo 'foo'
++ bar foo
--
2022-06-08 12:43:01 -04:00
drbeefsupreme
7e0d16d817
dprint: new core naming syntax
...
changes the syntax for cores named with :> # %corename to
|% %core-name for the dprint and dprint testing library
2022-06-07 12:37:32 -04:00
drbeefsupreme
dd71b7c788
doccords: dprint debug printfs
2022-04-07 13:05:58 -04:00
drbeefsupreme
b0230086ce
doccords: dprint chapter and overview print tweak
...
printing an overview only gives the summary now, not the details. also
fixed chapter printing so that it doesn't print the details twice
2022-04-07 12:55:30 -04:00
drbeefsupreme
b41b22ab70
doccords: dprint fix chapter printing
2022-04-07 12:42:55 -04:00
drbeefsupreme
7d8fabe6cf
doccords: dprint remove +shallow-match
...
it was factored into +find-item-in-type
2022-04-07 11:54:33 -04:00
drbeefsupreme
7a94319af3
dojo, doccords: dprint library can take list term
...
this allows you to search for foo:bar instead of just foo
2022-04-06 17:37:55 -04:00
drbeefsupreme
0e8cf3bbfa
doccords: dprint improve default arm core docs
...
the logic for getting the docs on the default arm of a core is now more
similar to how other arm docs are gotten, rather than having its own
system. there is still more room for improvement
2022-04-06 16:34:02 -04:00
drbeefsupreme
33b2761b39
doccords, dojo: move flop print-arm -> dy-inspect
...
this looks more sensible
2022-04-06 15:50:23 -04:00
drbeefsupreme
912a5023bb
doccords: flop order of +print-arm results
2022-04-06 14:58:28 -04:00
drbeefsupreme
69399c4153
doccords: remove unwrap-note from dprint
...
we shouldn't be getting docs from the AST, so this should never be needed
2022-04-05 15:55:42 -04:00
drbeefsupreme
3afc9b6899
doccords: dprint all docs in %arm items from type
...
before this, it was grabbing the initial arm-doc from the AST rather
than the type. now %arm items have all 3 types of docs available. the
interface has been degraded somewhat though, as %arm items no longer
have a single docs field. more refactoring will be needed to figure out
the best way to do this.
2022-04-05 15:52:35 -04:00
drbeefsupreme
37a787970c
doccords: dprint refactoring and renaming
2022-04-05 15:17:57 -04:00
drbeefsupreme
151608d583
doccords: dprint fix depth calculation
...
stupid loobeans tripping me up
2022-04-05 14:44:47 -04:00
drbeefsupreme
eb4b996420
doccords: dprint can dist. arm-doc and prod-doc
...
rewrites select-arm-docs so that it checks for nested hint types and
sees if the outermost help hint has a %funk link with the name of the
arm in order to tell that its an arm-doc
2022-04-05 12:38:02 -04:00
drbeefsupreme
6a6078b554
doccords: dprint core and chapter items
...
adds the ability to find cores and chapters and produce an item from them
2022-04-04 16:23:27 -04:00
drbeefsupreme
edfcceb1d9
doccords: dprint print overview
...
also adds another mule to a play:ut call to avoid another crash that i'm
not sure yet why it is happening
2022-03-31 18:45:28 -04:00
drbeefsupreme
a15711c74d
doccords: dprint fix crash on non-help %hint
2022-03-31 17:59:45 -04:00
drbeefsupreme
d9e44e9e76
doccords: dprint print core routine
2022-03-31 17:35:50 -04:00
drbeefsupreme
752182f0bf
doccords: dprint fix default core arm printing
...
if the product had its own docs, it wouldn't also get the docs for a
the default arm produced by the core. this fixes that. also misc style
fixes
2022-03-31 17:33:59 -04:00
drbeefsupreme
1af2e8fdae
doccords: dprint library unwrapping hints
...
doesn't totally work yet
2022-03-31 14:39:09 -04:00
drbeefsupreme
91aeb0fdbf
doccords: more printing tools
2022-03-30 15:36:30 -04:00
drbeefsupreme
af7d38124b
doccords: finding and print doccords library
...
initial commit for library for finding and printing doccords. has some
basic functionality for looking through a type and finding the docs
within it and printing them, but is mostly unfinished
2022-03-30 14:51:40 -04:00