Skip to content

func define allow at back#465

Open
runsys wants to merge 6 commits into
d5:masterfrom
runsys:master
Open

func define allow at back#465
runsys wants to merge 6 commits into
d5:masterfrom
runsys:master

Conversation

@runsys

@runsys runsys commented Jun 5, 2025

Copy link
Copy Markdown

No description provided.

Comment thread parser/parser.go

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
Copy Markdown
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.

Comment thread objects.go
func (o *Bool) Equals(x Object) bool {
return o == x
switch i:=x.(type) {
casse *Bool:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Typo?

@geseq

geseq commented Nov 29, 2025

Copy link
Copy Markdown
Collaborator

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