Skip to content

Conversation

@runsys
Copy link

@runsys runsys commented Jun 5, 2025

No description provided.


var nass [][]string
for i := 0; i < len(stmts); i += 1 {
nas := regexFindAll(stmts[i].String(), "[A-Za-z][a-zA-Z0-9]*(_[a-zA-Z0-9]+)*\\s*[:()]")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This parser logic based on regex looks quite brittle to me.

func (o *Bool) Equals(x Object) bool {
return o == x
switch i:=x.(type) {
casse *Bool:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo?

@geseq
Copy link
Collaborator

geseq commented Nov 29, 2025

Thanks for the PR. I think you’d have to rework this significantly and add thorough set of tests to consider this for merging.

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

Successfully merging this pull request may close these issues.

2 participants