Skip to content

Instantly share code, notes, and snippets.

@neomatrix369
Created December 10, 2015 14:59
Show Gist options
  • Select an option

  • Save neomatrix369/55af3dc09fce145803e5 to your computer and use it in GitHub Desktop.

Select an option

Save neomatrix369/55af3dc09fce145803e5 to your computer and use it in GitHub Desktop.
Transformation Priority Premise
({}–>nil) no code at all->code that employs nil
(nil->constant)
(constant->constant+) a simple constant to a more complex constant
(constant->scalar) replacing a constant with a variable or an argument
(statement->statements) adding more unconditional statements.
(unconditional->if) splitting the execution path
(scalar->array)
(array->container)
(statement->recursion)
(if->while)
(expression->function) replacing an expression with a function or algorithm
(variable->assignment) replacing the value of a variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment