Skip to content
Snippets Groups Projects
Commit 7b9e40f4 authored by stepan's avatar stepan
Browse files

Replacement refactoring

Replacements are broken down to individual calls lazily on first execution.
This is done by new ReplacementBlockNode, which executes RHS store to tmp
variable then the actual replacement and then it returns the RHS value.

ReplacementBlockNode creates the node for actual replacement depending on the
replacement structure: if all the calls are specials, it creates
ReplacementNodeSpecial, which takes advantage of the properties of specials.
Otherwise it creates regular replacement node that executes exactly the same
function calls as GnuR would.
parent 89cfca74
Branches
No related tags found
Loading
Showing
with 535 additions and 378 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment