Friday, April 07, 2006

Human text written in perl mode

Here is something I have been experimenting with, representing my thoughts in perl syntax .

RDF ->TESTS
generate tests of the rdf model

TESTS -> RDF
extract rdf model out of tests

RDF -> HUMAN
Read the rdf into a human mind
introspect on visual pattern matching
introspection -> INTROSPECTION MENTAL MODEL -> VISUAL MENTAL MODEL
-> UNDERSTAND DATA COLLECTED;

INTROSPECTION MENTAL MODEL ->

HUMAN -> RDF
write rdf
write patterns matched

printf
type string, integer, float, constant string
variable, constant, in string
count 0,1,2,3
sources =>{
"local variables" => "declare the variables in the function body",
"parameters" => "add parameters to the function"
}

TEXT IN PERL MODE
=> gives you useful indentation model
=> represents this document
=> POST TO BLOG => sub {

},
=> {
NAME => PERL,
CONVERT TO TARGET LANGUAGE => {
NAME=> C ,
CONVERT TO TARGET LANGUAGE => {
NAME => asm,
},
method => [compile it, and then check the errors, parse the errors,
look at the types of errors,
extract the variable data in the error message,
fix the problem by inserting the missing data.
repeat
]
}
}
=> sometimes needs a terminating ;