dprint: new core naming syntax

changes the syntax for cores named with :>  #  %corename to
|%  %core-name for the dprint and dprint testing library
This commit is contained in:
drbeefsupreme 2022-06-07 12:37:32 -04:00
parent 3d3ea61d53
commit 7e0d16d817
2 changed files with 5 additions and 12 deletions

View File

@ -1,5 +1,5 @@
:: A library for printing doccords
=/ debug &
=/ debug |
=>
|%
:> an overview of all named things in the type.
@ -54,8 +54,7 @@
==
::
--
:> # %dprint
|%
|% %dprint
:> contains arms used for looking for docs inside of a type
:>
:> the entrypoint for finding docs within a type is +find-item-in-type.

View File

@ -4,12 +4,10 @@
::
=> =>
:: This core is for testing core and chapter docs.
:> # %core-test
:>
:> core-summary
:>
:> core-description
|%
|% %core-test
:> chapter-summary
:>
:> chapter-description
@ -17,10 +15,8 @@
++ empty ~
--
::
:> # %test-arms
:>
:> arms used for testing arm documentation
|%
|% %test-arms
+| %types
+$ arm-dox [tape what what what]
+$ core-dox [tape what]
@ -187,10 +183,8 @@
::
--
::
:> # %dprint-tests
:>
:> contains the actual tests to be run by -test
|%
|% %dprint-tests
++ test-no-doc
%+ expect-eq
!> (get-arm-dox ~[%no-doc])