Skip to content

virus#175

Merged
gliechtenstein merged 4 commits intogh-pagesfrom
develop
Mar 30, 2018
Merged

virus#175
gliechtenstein merged 4 commits intogh-pagesfrom
develop

Conversation

@gliechtenstein
Copy link
Copy Markdown
Contributor

No description provided.

gliechtenstein and others added 4 commits January 6, 2018 17:15
* Implement Virus property
It allows the developer to make custom transformations to the genotype
before being parsed by Cell

* (wip) Fail when a mutation does not adhere to the API

* Add  feature as a plugin mechanism

* Add type by default after virus infection
This fixes the problem that the node was generated with a type
but the virus tried to override it to a div implicitly

* Fix missing semicolon

* Move virus infection up in the pipeline

Infecting in Genotype.build may be too late, as the $node is already
generated. This caused issues when writing viruses that changed the $type
of cells initially declared with "$type: 'input'".
This is also cleaner, as viruses act like dumb pre-processors or macro
expansions.

* Add Virus documentation

* Update VIRUS.md
@gliechtenstein gliechtenstein merged commit 7bd5c09 into gh-pages Mar 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants