Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置中支持复杂配置逻辑(如:if else 的逻辑,模版变量,预定义变量) #25

Closed
garyelephant opened this issue Aug 27, 2017 · 1 comment
Milestone

Comments

@garyelephant
Copy link
Contributor

garyelephant commented Aug 27, 2017

conditional and expression in configurtion file:

example:

if [a.b.c != 3] {
	
} else {
	
}

references:

logstash configuration
http://enear.github.io/2016/03/31/parser-combinators/
https://github.com/sirthias/parboiled2
http://www.lihaoyi.com/fastparse/
https://gist.github.com/nicerobot/4189552
https://dzone.com/articles/rolling-your-own-dsl-in-scala
https://www.slideshare.net/abhijit.sharma/writing-dsls-in-scala
https://www.slideshare.net/holograph/a-field-guide-to-dsl-design-in-scala
http://jmespath.org/
http://www.antlr.org/

Search keyword: Grammars, workflows, DSL, expression, eval

@garyelephant garyelephant added this to the M1 milestone Aug 27, 2017
@garyelephant
Copy link
Contributor Author

目前已通过 antlr4在配置文件中支持了if else结构的配置和解析,但是体系代码中,还未加入if else的逻辑代码。

ic4y pushed a commit to ic4y/incubator-seatunnel that referenced this issue May 22, 2023
Cherry pick dev to business-dev
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

No branches or pull requests

1 participant