Search found 4 matches

by Stoomkracht
07.06.2025 07:04
Forum: Lexers
Topic: Trying to create a lexer for kind-of-classic 80's BASIC
Replies: 12
Views: 6769

Re: Trying to create a lexer for kind-of-classic 80's BASIC

Couldn't make a satisfying version and because too frustrated with trial and error and navigating various tabs and somehow regex masking not working,, while it does work in regex search. I am giving it another look.
by Stoomkracht
30.05.2025 09:32
Forum: Lexers
Topic: Trying to create a lexer for kind-of-classic 80's BASIC
Replies: 12
Views: 6769

Re: Trying to create a lexer for kind-of-classic 80's BASIC

Thanks. Still have issues.. If I try to add a rule for just a label (without the PROCEDURE keyword), it will list things double in the syntax tree, because it matches both label AND procedure. If I play with regex that match only labels and one for procedures in Parser, I can't get it to work in Con...
by Stoomkracht
29.05.2025 02:15
Forum: Lexers
Topic: Trying to create a lexer for kind-of-classic 80's BASIC
Replies: 12
Views: 6769

Re: Trying to create a lexer for kind-of-classic 80's BASIC

Under rules i created ProcedureStart and ProcedureEnd rule. But when I double click on the procedure in the syntax tree, it keeps selecting till END IF, instead of the real end of procedure (END...newline) I want labels and procedures separately listed in the tree view (group formatting string). Her...
by Stoomkracht
28.05.2025 08:06
Forum: Lexers
Topic: Trying to create a lexer for kind-of-classic 80's BASIC
Replies: 12
Views: 6769

Trying to create a lexer for kind-of-classic 80's BASIC

CVBasic, it's short manual: https://github.com/nanochess/CVBasic/blob/master/manual.txt A compiler for a few similar '80's consoles. I want to display the labels and procedures separately in the syntax view and obviously have autocomplete. Format mylabel: and myprocedure: PROCEDURE optional RETURN E...