bilibili / bilibili/gengine

不支持连续函数调用a.Func1().Func2()

Open
#37 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
281
PR merge metrics
No merged PRs in 30d

Description

```
rule "func_chain"
begin
data2=data.Filter("d1", "v1").HasGT(3)
end
```
类似这样的连续函数调用不支持,会直接报错 mismatched input '.' expecting END

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported func_chain rule with data.Filter("d1", "v1").HasGT(3) and inspect the parser or grammar entry point that reports "mismatched input '.' expecting END". Trace how a single function call is parsed and evaluated, then confirm that chained calls work without breaking existing rule syntax.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.