[Push] Random code generation

PerPlex Ed edperplex at yahoo.com
Sun Jun 20 09:07:26 EDT 2010


Below are few example of code generated by my implementation.
I see only two value in there: a float literal (0.0) and a name literal (<name>535059314)




(Code.Yank Exec.YankDup Boolean.And Integer.% Boolean.FromFloat Env.Types Code.DoStar Float.Tan Exec.Define Code.Pop Code.YankDup Float.Pop)

(Code.Do*Times Code.Nth Exec.If Name.Quote)

(Code.List Env.MinRandomFloat Integer.Define)

(Float.Tan Float.FromInteger Float.-)

(Boolean.Not Code.FromBoolean Code.Position Name.Yank 0.0 Exec.K Integer.Shove <name>535059314 Code.FromName Name.Rot Float.Rand)

(Code.FromInteger)

(Float.= Code.Atom Integer.FromBoolean Float.StackDepth Env.TopLevelPushCode Float.FromInteger Code.Discrepancy Float.Rand Integer.StackDepth Code.=)

(Name.Pop Integer.Max Boolean.Or Code.Atom Float.- Name.Dup Float.< Float.Rand)

(Name.Pop Code.Swap Code.FromName Name.RandBoundName Name.Flush Exec.StackDepth Code.Container Integer.Rot Code.Container False Code.Definintion Exec.If Name.Yank Code.FromInteger)

(Float.Flush Boolean.Not Exec.Do*Range Code.Append Integer.> Name.Quote Name.YankDup)

(Float.Cos Integer.Yank Code.Rot Exec.Do*Range Code.If Env.MinRandomInteger Boolean.StackDepth)


      



More information about the Push mailing list