shrub/main/mar/zongs/door.hook

73 lines
1.7 KiB
Plaintext
Raw Normal View History

2014-07-30 04:18:17 +04:00
::
2014-11-11 22:55:28 +03:00
:::: /hoon/core/zongs/mar
2014-07-30 04:18:17 +04:00
::
/? 314
/- zong
2014-11-11 22:55:28 +03:00
!:
2014-07-31 23:24:30 +04:00
|_ zos=(list zong)
2014-07-30 04:18:17 +04:00
::
++ grab :: convert from
|%
2014-10-08 23:06:40 +04:00
++ noun (list zong) :: clam from %noun
2014-07-31 23:24:30 +04:00
--
::
++ grow :: convert to
|%
++ hymn :: convert to %hymn
^- manx
;html
;head
;title: Zongs!
==
;body ;table
2014-08-05 22:49:04 +04:00
;* %+ turn (flop zos)
2014-07-31 23:24:30 +04:00
|= zog=zong
2014-11-11 22:55:28 +03:00
=. p.zog (lsh 6 1 (rsh 6 1 p.zog)) :: round off subsecond
2014-07-31 23:24:30 +04:00
;tr ;td: {<p.zog>}
;td: {<q.zog>}
;+ ?- -.r.zog
%do
;td: {(trip p.r.zog)}
%say
;td: & {(trip p.r.zog)}
%exp
;td
;code:"{(trip p.r.zog)}"
; \a0 {~(ram re q.r.zog)}
== ==
== ==
== ==
2014-11-11 22:55:28 +03:00
++ json
%- jobe
:~
:- %mensajes
:- %a
%+ turn
(flop zos)
|=
zog=zong
=. p.zog
(lsh 6 1 (rsh 6 1 p.zog)) :: round off subsecond
%- jobe
:~
[%time (jape <p.zog>)]
[%auth (jape <q.zog>)]
:- %mess
%+ joba -.r.zog
?- -.r.zog
%do
[%s p.r.zog]
%say
[%s p.r.zog]
%exp
[%a [%s p.r.zog] (turn (wash 0^80 q.r.zog) jape)]
==
==
==
2014-07-31 23:24:30 +04:00
++ html
2014-10-30 23:33:15 +03:00
(crip (poxo hymn))
2014-07-31 23:24:30 +04:00
++ mime
2014-11-11 22:55:28 +03:00
[/text/json (tact (pojo json))]
2014-07-30 04:18:17 +04:00
--
--