Email or username:

Password:

Forgot your password?
Top-level
Csepp 🌢

@neauoire This is really neato. 👀
Structural editing is part of why I want to use a TLV based "sourceless" representation in my PocketViewer thingy. (The other is compactness.)
It's interesting that the builtin microlisp editor is also technically just a structural editor for lists, but the interface is like ed(1).
Unixy software wastes so much code space and CPU cycles with parsers, so for a truly low tech solution, I think it's best to stick to a single simple grammar.

7 comments
Devil Lu Linvega

@csepp I agree, these source files as so tiny! This is all assembled code right, so the only strings in the project are label names and comments.

It was surprisingly easy to implement, it'll change how I code a lot I suspect.

Csepp 🌢

@neauoire Wait what, so you are technically using a disassembler / binary editor? That is even cooler than what I thought was going on. 👀

Devil Lu Linvega

@csepp yeah, it assembles and disassembles, keeping comments and all types of labels. The source code is actually the binary file itself along with the symbols file.

Csepp 🌢

@neauoire Ohh so that's why Oquonie comes with a symbols file, I thought it was just for debugging.
Btw does the hex editor not have an ASCII column? It's kind of hard to make sense of what's going on without any recognizable strings.

Devil Lu Linvega

@csepp ah yes that's not a hex editor, that's just left, here's the hex editor with the ascii data, and overlapped in the step debugger, and the raw binary.

Go Up