Skip to content

Commit

Permalink
Merge pull request #105 from hdhoang/patch-1
Browse files Browse the repository at this point in the history
README: fix typo
  • Loading branch information
jglick committed Feb 10, 2017
2 parents b6c9617 + 376412c commit 8da4ed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -47,7 +47,7 @@ The [Pipeline Snippet Generator epic](https://issues.jenkins-ci.org/browse/JENKI

## Technical design

The plugin uses the [Groovy CPS library](https://github.com/cloudbees/groovy-cps/) to implement a [contination-passing style transformation](https://en.wikipedia.org/wiki/Continuation-passing_style) on the program as it is compiled.
The plugin uses the [Groovy CPS library](https://github.com/cloudbees/groovy-cps/) to implement a [continuation-passing style transformation](https://en.wikipedia.org/wiki/Continuation-passing_style) on the program as it is compiled.
The standard Groovy compiler is used to create the AST, but generation of bytecode is intercepted by a `CompilationCustomizer` which replaces most operations with variants that throw a special “error”, `CpsCallableInvocation`.
This is then caught by the engine, which uses information from it (such as arguments about to be passed to a method call) to pass control on to the next continuation.

Expand Down

0 comments on commit 8da4ed3

Please sign in to comment.