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 tree
add foo (or +foo) - add new attribute foo to the current object
rm foo (or -foo) - delete foo attribute from the current object
go foo (or .foo) - jump to the object attached to the foo attribute
to Φ.bar - attach Φ.bar to the current object
form - create an empty formation and attach to the current object
put 75-E4-3F - attach data to the Δ asset of the current object
cp Φ.bar - make a copy of the current object and attach it to Φ.bar
dd foo Φ.bar - dispatch foo and attach the result to Φ.bar
ls - print all attributes of the current object
dataize (or run) - dataize current objects and print result
When I start
eoc inspectit should load all.classfiles into the VM and then give me an interactive interface, for example:Current position in the tree is printed with the
@prefix.Then, I type in:
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