mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-22 06:11:31 +03:00
hoon: doccords wrap bar runes with %notes
this changes the parser to take any bar runes surrounded by formal comments and wraps them with %note tags containing those comments
This commit is contained in:
parent
ff81189823
commit
c01732de16
@ -8216,13 +8216,22 @@
|
||||
?: =([~ ~ ~ ~] wit)
|
||||
gen
|
||||
?+ gen gen
|
||||
::
|
||||
$? [%brbc *] [%brcb *] [%brcl *] [%brdt *] [%brkt *]
|
||||
[%brhp *] [%brsg *] [%brtr *] [%brts *] [%brwt *] ==
|
||||
?~ boy.wit
|
||||
gen
|
||||
[%note help+`u.boy.wit gen]
|
||||
::
|
||||
[%brcn *]
|
||||
[%brcn lab.wit q.gen] :: populate (unit term) with lab.wit
|
||||
?~ boy.wit
|
||||
[%brcn lab.wit q.gen]
|
||||
[%note help+`u.boy.wit [%brcn lab.wit q.gen]]
|
||||
::
|
||||
[%brpt *]
|
||||
[%brpt lab.wit q.gen] :: populate (unit term) with lab.wit
|
||||
::
|
||||
?~ boy.wit
|
||||
[%brcn lab.wit q.gen]
|
||||
[%note help+`u.boy.wit [%brpt lab.wit q.gen]]
|
||||
==
|
||||
--
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user