Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
Lbl LINK
|
||||
r₂→{r₁}ʳ
|
||||
0→{r₁+2}ʳ
|
||||
0→{r₁+4}ʳ
|
||||
r₁
|
||||
Return
|
||||
|
||||
Lbl NEXT
|
||||
{r₁+2}ʳ
|
||||
Return
|
||||
|
||||
Lbl PREV
|
||||
{r₁+4}ʳ
|
||||
Return
|
||||
|
||||
Lbl VALUE
|
||||
{r₁}ʳ
|
||||
Return
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
type
|
||||
Node[T] = ref TNode[T]
|
||||
|
||||
TNode[T] = object
|
||||
next, prev: Node[T]
|
||||
data: T
|
||||
|
|
@ -0,0 +1 @@
|
|||
Object Class new: DNode(value, mutable prev, mutable next)
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
var node = Hash.new(
|
||||
data => 'say what',
|
||||
next => foo_node,
|
||||
prev => bar_node,
|
||||
);
|
||||
|
||||
node{:next} = quux_node; # mutable
|
||||
Loading…
Add table
Add a link
Reference in a new issue