Project

General

Profile

Actions

Architecture #17936

closed

rudderc: handle interpolation of extern variables

Added by Gaëtan POBLON almost 4 years ago. Updated almost 2 years ago.

Status:
Rejected
Priority:
N/A
Category:
rudderc
Target version:
Effort required:
Name check:
To do
Fix check:
To do
Regression:

Description

two issues with interpolation of extern variables:

- interpolation in variable definitions
- interpolation in conditional statements

Goal:
- allow rudder-lang to compile when a variable holds interpolated content that is not defined in rudder-lang
- allow rudder-lang to compile when a condition holds interpolated content that is not defined in rudder-lang

How to test it:
cargo run -- -c ./tools/rudderc-dev.conf -s tests/test_files/translate/cis.rl -f cf

Actions

Also available in: Atom PDF