Ferreteria/v0.6/sys/Parsing/v1
< Ferreteria | v0.6 | sys | Parsing
Jump to navigation
Jump to search
|
Ferreteria: Parsing system v1 (obsolete)
|
About
The parsing system is built on a collection of relatively simple ideas, but keeping them organized so they work well together gets complicated quickly.
Terminology
- Cell: has a Strand, an Enzyme, and a Lookup -- equivalent to old "Template"
- Enzyme: breaks a string up into objects that fully represent each section
- returns a
Parsing/aux/Nucleus- ...which contains zero or more
Parsing/aux/Codons
- ...which contains zero or more
- returns a
- Lookup: transforms input values into output, typically via a lookup array
- Strand: a string formatted in a way that the Enzyme knows how to segment/objectify
Thinking
- A codon is a fixed-length segment of a DNA strand.
- I first thought of using "gene" for segment-collections, but the analogy seemed only vaguely applicable and the word "gene" gets a bit overused as a metaphor.
- An enzyme and a ribosome are both molecular machines that handle DNA segments like data (enzymes copy, ribosomes link pieces together).
- A cell's nucleus contains most of its DNA, so that seemed a reasonable name for a collection of codons. (Maybe I should have just called it "codons"...)
I couldn't think of a good DNA metaphor for Lookups...