TSE: Syntax: Highlight: Language: Computer: Go

17 views
Skip to first unread message

knud van eeden

unread,
Sep 29, 2026, 11:01:40 AM (7 days ago) Sep 29
to SemWare TSE Pro Text Editor
Hello,

Go is currently #12 on the Tiobe index

latest TSE v4.50.30 does not have syntax highlight for the Go language.

Attached a possible syntax highlight file for Go.

with friendly greetings
Knud van Eeden

knud van eeden

unread,
Sep 29, 2026, 11:08:54 AM (7 days ago) Sep 29
to SemWare TSE Pro Text Editor
go.txt

Len Philpot

unread,
Sep 29, 2026, 11:41:44 AM (7 days ago) Sep 29
to SemWare TSE Pro text editor
> Go is currently #12 on the Tiobe index

I thought an interesting side note is good ole' 50+ year old C being #2 on the list, up one place from last year (also the greatest positive change rate). I guess you can't actually write everything in a high level scripting language, eh?  :-)  VB being as high as it is just goes to show how deeply embedded things can be difficult to move past.

knud van eeden

unread,
Sep 29, 2026, 12:24:07 PM (7 days ago) Sep 29
to SemWare TSE Pro text editor
Well, actually very many computer languages are written in C and or C++.

Nowadays 

 Rust 

Currently #10 on the Tiobe index list
is a strong newcomer, fast as C and C++ but with very much (memory) checking
built in which is a weak spot in C and C++.

E.g. part of the Linux kernel is now re-written or written in Rust instead of e.g. C.
Even Linus Torvalds uses it now.

Rust is widely recognized as the most loved programming language by developers, capturing the highest developer satisfaction and admiration ratings in annual community evaluations for consecutive years).

But Rust has a high learning curve.

Note: TSE 4.50.30 has already Rust syntax highlight (e.g. .rs file extensions) included.

===

Major programming languages whose reference implementations, compilers, or interpreters are written in C include:
  • Python: The reference implementation, CPython, is written entirely in C.
  • PHP: The core engine that powers PHP, known as the Zend Engine, is written in C.
  • JavaScript: Popular JavaScript engines like Google Chrome's V8 Engine are written in C++ (an extension of C), but older standard implementations and engine components heavily rely on C.
  • Perl: The official interpreter for Perl is written in C.
  • Ruby: The original and dominant implementation of Ruby (MRI or CRuby) is written in C.
  • Lua: A lightweight scripting language designed to be embedded into applications, written completely in clean ANSI C.
  • R: The primary environment and interpreter for the R data science language is written primarily in C and Fortran.
  • MATLAB: The underlying computational core of MATLAB is primarily built using C and C++. [1, 2]
Note on Compiled Languages: Many modern compiled languages like Java, Go, and Rust originally had their very first compilers written in C. Once they became functional, they underwent a process called "bootstrapping," meaning their current compilers are now written in the languages themselves (e.g., the official Rust compiler is now written in Rust). [2]
Are you asking out of curiosity about compiler design, or are you looking for a language that easily interoperates with C libraries?

===

Many major programming languages are written in C++ because their primary interpreters, compilers, or runtime engines rely on its high performance and low-level memory control. [1, 2]
The primary languages whose standard or major implementations are written in C++ include:
  • Java: The primary HotSpot JVM (Java Virtual Machine) developed by Oracle/Sun is written in C++. [3]
  • JavaScript: Google Chrome's V8 engine, Node.js, and Mozilla Firefox's SpiderMonkey engine are all written in C++ to compile and execute JavaScript code quickly. [2, 4]
  • Python: While the standard CPython interpreter is written in C, major machine learning libraries that power modern Python—such as TensorFlow and PyTorch—are written heavily in C++ under the hood. [3, 4]
  • C#: The official .NET Core CLR (Common Language Runtime) runtime engine is written primarily in C++.
  • PHP: While the core Zend Engine is written in C, Facebook's HHVM (HipHop Virtual Machine), which executes PHP and Hack code, is written in C++. [3]
  • Ruby: The JRuby implementation can run on the C++-based JVM, and various alternative performance engines for Ruby utilize C++.
Additionally, modern compilers for C and C++ themselves (such as Clang and recent versions of GCC) are written in C++. [5]
Would you like to know more about how a specific language's compiler or virtual machine functions, or are you looking to understand how to write extensions for these languages using C++?




--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/d6f95de9-7d3a-40ca-ba0b-f2302ebf41e9n%40googlegroups.com.

Guy Rouillier

unread,
Sep 30, 2026, 4:10:12 AM (7 days ago) Sep 30
to sem...@googlegroups.com
On Tue, 2026-09-29 at 08:10 -0700, Len Philpot wrote:
I guess you can't actually write everything in a high level scripting language, eh? 

Well, since C *is* a higher level language (though not a scripting language), apparently you can. :)  
And Go is not considered a scripting language either:

"No, Go (Golang) is not considered a scripting language. 
It is a statically typed, compiled systems programming language 
designed by Google."
--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/d6f95de9-7d3a-40ca-ba0b-f2302ebf41e9n%40googlegroups.com.

-- 
Guy Rouillier
Reply all
Reply to author
Forward
0 new messages