Re: Review Request: keywords and operators parser

Darcy Shen via Texmacs-dev <[email protected]>
Newsgroups gmane.editors.texmacs.devel
Message-ID <[email protected]>
Just now, I rewrited the python_language.cpp using the keywords and operators parser.



Currently, the PR rewrited the following languages:

+ Java

+ Scala

+ Python





---- On Sat, 2020-01-18 22:14:54 Darcy Shen via Texmacs-dev <[email protected]> wrote ----



## Keywords and Operators Parser
 Take Java for example, we define `java-keywords` and
      `java-operators` in `java-lang.scm`.
 
 The `keyword_parser` in `java_language.cpp` will load
      `java-keywords` when initialized, it will parse keywords and
      calculate the corresponding keyword group for proper color.
 
 The `keyword_parser` and `operator_parser` allow us to define
      keywords and operators in scheme, this is the killer feature.
 
 ## Ref
 https://savannah.gnu.org/patch/?9884





-------- Forwarded Message --------

Subject:

[patch #9884] Parser: keywords and operators parser on
              Java and Scala


Date:

Sat, 18 Jan 2020 09:11:00 -0500 (EST)


From:

Darcy Shen mailto:[email protected]


To:

Joris van der Hoeven mailto:[email protected], Darcy
              Shen mailto:[email protected], mailto:[email protected], mailto:[email protected], mailto:[email protected]








URL:

 https://savannah.gnu.org/patch/?9884

 

 Summary: Parser: keywords and operators parser on Java and

 Scala Project: GNU TeXmacs

 Submitted by: sadhen

 Submitted on: Sat 18 Jan 2020 10:10:59 PM CST

 Category: Editor

 Action: None

 Privacy: Public

 Assigned to: vdhoeven

 Originator Email: Open/Closed: Open

 Release: Discussion Lock: Any

 Fixed Release: Stable: 

 _______________________________________________________

 

 Details:

 

 see https://github.com/texmacs/texmacs/pull/35

 

 Use the following command to download the diff to /tmp/diff.

 

 

 wget https://github.com/texmacs/texmacs/pull/35.diff -O /tmp/diff

 

 

 

 

 

 _______________________________________________________

 

 Reply to this item at:

 

 https://savannah.gnu.org/patch/?9884

 

 _______________________________________________

 Message sent via Savannah

 https://savannah.gnu.org/

 

 



_______________________________________________

Texmacs-dev mailing list

[email protected]

https://lists.gnu.org/mailman/listinfo/texmacs-dev

_______________________________________________
Texmacs-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/texmacs-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.