paaguti / textadept-modula-lexers

modula-2 and modula-3 lexers for TextAdept
MIT License
4 stars 0 forks source link

Modula-3 lexer #3

Closed 1997tn closed 1 year ago

1997tn commented 1 year ago

Modula-3 doesn't have a preprocessor. So it's fine to group pragma as another kind of comment.

On line 8 it's still local lex = lexer.new('modula2'), it should be local lex = lexer.new('modula3') isn't it?

You have not updated the numerical literals part to match Modula-3, it's taken as is from Modula-2.

Please fix this. Thank you.

p/s: Modula-3 numerical literals reference: http://modula3.github.io/cm3/reference/complete/html/2_6_4Numeric_literals.html

paaguti commented 1 year ago

Clone the repo, fix the issues and send me a PR, which I'll integrate ASAIC

Thx, /PA

On Thu, 26 Jan 2023 at 16:45, 1997tn @.***> wrote:

Modula-3 doesn't have a preprocessor. So it's fine to group pragma as another kind of comment.

On line 8 it's still local lex = lexer.new('modula2'), it should be local lex = lexer.new('modula3') isn't it?

You have not updated the numerical literals part to match Modula-3, it's taken as is from Modula-2.

Please fix this. Thank you.

p/s: Modula-3 numerical literals reference: http://modula3.github.io/cm3/reference/complete/html/2_6_4Numeric_literals.html

— Reply to this email directly, view it on GitHub https://github.com/paaguti/textadept-modula-lexers/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZKU4A6EBNALLQVQOQB5ITWUKLZRANCNFSM6AAAAAAUHUZZHY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler

Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet

1997tn commented 1 year ago

Clone the repo, fix the issues and send me a PR, which I'll integrate ASAIC Thx, /PA

It's not always that simple. If I know what to do I should do it already. I don't understand Lua and especially LPEG. I'm a Modula-3 user but I don't understand EBNF grammar, so there could be some language corner cases I'm not yet know. e.g: a keyword could be both a data type and a function, who know? Sometimes I really need someone to ask and discuss if I should do it this way or that way or I understand and do it right or not. I need someone to help me to do things correctly, not that I'm lazy I want you to do all of this for me. Please make it clear.