Skip to content

$virus#174

Merged
gliechtenstein merged 4 commits intomasterfrom
develop
Mar 27, 2018
Merged

$virus#174
gliechtenstein merged 4 commits intomasterfrom
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
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+2.2%) to 86.047% when pulling 6ed18a0 on develop into 8150ca1 on master.

@gliechtenstein gliechtenstein merged commit cec7af0 into master Mar 27, 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.

3 participants