missing cats

This commit is contained in:
Anton Dyudin 2015-06-01 14:27:28 -07:00
parent 072bb7735b
commit 485a4d8482
4 changed files with 40 additions and 2 deletions

View File

@ -0,0 +1,12 @@
::
:::: /hook/gate/reload/hood/cat
::
/? 314
::
::::
!:
|= $: [now=@da eny=@uvI bec=beak]
[arg=(list term) ~]
==
:+ %hood-reload-desk %home
arg

View File

@ -0,0 +1,12 @@
::
:::: /hook/gate/reload/hood/cat
::
/? 314
::
::::
!:
|= $: [now=@da eny=@uvI bec=beak]
[arg=[desk (list term)] ~]
==
:- %hood-reload-desk
arg

View File

@ -0,0 +1,11 @@
::
:::: /hook/gate/reset/hood/cat
::
/? 314
::
::::
!:
|= $: [now=@da eny=@uvI bec=beak]
[arg=~ ~]
==
[%hood-reset ~]

View File

@ -110,7 +110,7 @@ CodeMirror.defineMode("hoon", function() {
}
if(stream.eat('`')){
state.space = false
state.space = true
return 'operator'
}
if(stream.sol() && stream.eatWhile(glyph)){
@ -131,8 +131,10 @@ CodeMirror.defineMode("hoon", function() {
return 'builtin'
return 'operator'
}
if(stream.eat(/[=:.^]/))
if(stream.eat(/[=:.^]/)){
state.space = true
return 'operator'
}
stream.next()
return 'builtin'
}
@ -154,4 +156,5 @@ CodeMirror.defineMode("hoon", function() {
return res
});
CodeMirror.registerHelper("wordChars", "hoon", /[-\\w]/);
CodeMirror.defineMIME("text/x-hoon", "hoon");