Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Cbmbasicv2 lexer text analysis #30

Merged
merged 3 commits into from
Nov 19, 2020
Merged

Conversation

gandarez
Copy link
Member

This PR ports pygments CBM BASIC V2 text analysis to chroma/go. Original code can be found at: https://github.com/pygments/pygments/blob/master/pygments/lexers/basic.py#L355

According to documentation and the comment left on pygments if lines are found starting with a number might not be detected as "modern" Basic, like VB.Net. So I changed the regex adding ^ at the very beginning.

Pygments PR to fix it.

@gandarez gandarez added the enhancement New feature or request label Nov 17, 2020
@gandarez gandarez merged commit ff9a543 into master Nov 19, 2020
@gandarez gandarez deleted the cbmbasicv2-lexer-text-analysis branch November 19, 2020 00:39
gandarez added a commit that referenced this pull request Nov 24, 2020
* Add basic structure for CBM BASIC V2 lexer

* Add CBM BASIC V2 lexer text analysis
dron22 pushed a commit that referenced this pull request Dec 7, 2020
* Add basic structure for CBM BASIC V2 lexer

* Add CBM BASIC V2 lexer text analysis
dron22 pushed a commit that referenced this pull request Dec 7, 2020
* Add basic structure for CBM BASIC V2 lexer

* Add CBM BASIC V2 lexer text analysis
dron22 pushed a commit that referenced this pull request Dec 8, 2020
* Add basic structure for CBM BASIC V2 lexer

* Add CBM BASIC V2 lexer text analysis
gandarez added a commit that referenced this pull request Jun 21, 2021
* Add basic structure for CBM BASIC V2 lexer

* Add CBM BASIC V2 lexer text analysis
gandarez added a commit that referenced this pull request Jun 21, 2021
* Add basic structure for CBM BASIC V2 lexer

* Add CBM BASIC V2 lexer text analysis
gandarez added a commit that referenced this pull request Nov 27, 2021
* Add basic structure for CBM BASIC V2 lexer

* Add CBM BASIC V2 lexer text analysis
gandarez added a commit that referenced this pull request Nov 28, 2021
* Add basic structure for CBM BASIC V2 lexer

* Add CBM BASIC V2 lexer text analysis
gandarez added a commit that referenced this pull request Feb 14, 2022
* Add basic structure for CBM BASIC V2 lexer

* Add CBM BASIC V2 lexer text analysis
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants