Anonymous user
Mad Libs: Difference between revisions
m
→{{header|J}}
(J solution.) |
m (→{{header|J}}) |
||
Line 428:
HEAD =. I {. y
TAIL =. I }. y
AA =. conew'AA'▼
create__AA''▼
A =. }. (<;.1~ '<'&=) '<' , TAIL NB. the story is parsed by '<'
B =. (({. ; }.)~ >:@:i.&'>')&> A
Line 441 ⟶ 439:
NB.|<name> | decided to take it home. |
NB.+-----------+------------------------------+
▲ AA =. conew'AA'
▲ create__AA''
SUBSTITUTIONS =. AA&get&.> _ 1 {. B
codestroy__AA''
HEAD , ; SUBSTITUTIONS ,. 0 1 }. B
)
|