Skip to content

Igbo dialect - #143

Open
PapePathe wants to merge 8 commits into
masterfrom
igbo-dialect
Open

Igbo dialect#143
PapePathe wants to merge 8 commits into
masterfrom
igbo-dialect

Conversation

@PapePathe

@PapePathe PapePathe commented Mar 20, 2026

Copy link
Copy Markdown
Owner

This pull request add support for Igbo

If you review this, please focus on folder lang/lexer.

The tests files are just a copy of all the existing sources files used to test the compiler. But it's a good sample if you want to see the shape of coding in Igbo dialect.

Comment thread lang/lexer/dialect_igbo.go Outdated
Comment thread lang/lexer/dialect_igbo.go Outdated
Comment thread lang/lexer/dialect_igbo.go Outdated

@ifebrand6 ifebrand6 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It looks solid to me. I checked other projects, but this got me to touch on some key syntax, unlike others. The one place I'm not sure about is "weghachi."

@PapePathe

Copy link
Copy Markdown
Owner Author

It looks solid to me. I checked other projects, but this got me to touch on some key syntax, unlike others. The one place I'm not sure about is "weghachi."

Thanks @ifebrand6. @Innarticles how do you feel about this ?

@PapePathe PapePathe left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

I asked Gemini about the accents. I am not sure but opening the conversation so that we can discuss it.

"oluasusu": DialectDeclaration,
"ka": Let,
"ogidi": Const,
"maobu": KeywordElse,

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Suggested change
"maobu": KeywordElse,
"maọbụ": KeywordElse,

"ka": Let,
"ogidi": Const,
"maobu": KeywordElse,
"oburu": KeywordIf,

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Suggested change
"oburu": KeywordIf,
"ọbụrụ": KeywordIf,

"ogidi": Const,
"maobu": KeywordElse,
"oburu": KeywordIf,
"dika": KeywordWhile,

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Suggested change
"dika": KeywordWhile,
"dịka": KeywordWhile,

"maobu": KeywordElse,
"oburu": KeywordIf,
"dika": KeywordWhile,
"oru": Function,

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Suggested change
"oru": Function,
"ọrụ": Function,

"oru": Function,
"weghachi": Return,
"mbido": Main,
"deputa": Print,

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Suggested change
"deputa": Print,
"depụta": Print,

"nhazi": Struct,
"ezigbo": True,
"ụgha": False,
"ezigha": TypeBool,

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Suggested change
"ezigha": TypeBool,
"ezịghā": TypeBool,

"ụgha": False,
"ezigha": TypeBool,
"mkpụrụ": TypeByte,
"ofe": TypeFloat,

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Suggested change
"ofe": TypeFloat,
"ofé": TypeFloat,

"ezigha": TypeBool,
"mkpụrụ": TypeByte,
"ofe": TypeFloat,
"onuogugu": TypeInt,

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Suggested change
"onuogugu": TypeInt,
"ọnụọgụgụ": TypeInt,

"mkpụrụ": TypeByte,
"ofe": TypeFloat,
"onuogugu": TypeInt,
"onuogugu64": TypeInt64,

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Suggested change
"onuogugu64": TypeInt64,
"ọnụọgụgụ64": TypeInt64,

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.

3 participants