-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
When I start eoc inspect it should load all .class files into the VM and then give me an interactive interface, for example:
$ eoc inspect
Loaded 56 objects
Ready to traverse the Universe
@ Φ ⟦org⟧
_
Current position in the tree is printed with the @ prefix.
Then, I type in:
@ Φ ⟦org⟧
.org
@ Φ.org ⟦bytes⟧
.eolang
@ Φ.org ⟦number bytes go malloc ... +15⟧
.bytes
@ Φ.org.bytes ⟦data and or xor div plus minus ... +7⟧
ls
.data ↦ ∅
.and ↦ ⟦ λ, b ⟧
.or ↦ ⟦ λ, b ⟧
...
@ Φ.org.bytes ⟦data and or xor div plus minus ... +7⟧
cp Φ.bar
Copied @ Φ.org.bytes to @ Φ.bar
@ Φ.bar ⟦data and or xor div plus minus ... +7⟧
ls
.data ↦ ∅
.and ↦ ⟦ λ b ⟧
.or ↦ ⟦ λ b ⟧
@ Φ.bar ⟦data and or xor div plus minus ... +7⟧
.data
@ Φ.bar.data ∅
form
@ Φ.bar.data ⟦⟧
put 04-05-96-92-2F-E3
@ Φ.bar.data ⟦Δ⟧
run
04-05-96-92-2F-E3
There are four possible commands:
..- jump to the upper object in the treeadd foo(or+foo) - add new attributefooto the current objectrm foo(or-foo) - deletefooattribute from the current objectgo foo(or.foo) - jump to the object attached to thefooattributeto Φ.bar- attachΦ.barto the current objectform- create an empty formation and attach to the current objectput 75-E4-3F- attach data to theΔasset of the current objectcp Φ.bar- make a copy of the current object and attach it toΦ.bardd foo Φ.bar- dispatchfooand attach the result toΦ.barls- print all attributes of the current objectdataize(orrun) - dataize current objects and print result
Metadata
Metadata
Assignees
Labels
No labels