## 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 <invalid.nore...@gnu.org>
To: Joris van der Hoeven <vdhoe...@texmacs.org>, Darcy Shen
<sad...@zoho.com>, texmacs-dev@gnu.org, allou...@texmacs.org,
texmacs-pa...@gnu.org
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
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev