[Gambas-user] Gambas IDE and JavaScript?

Martín mbelmonte at belmotek.net
Sat Feb 25 19:16:34 CET 2023

El 25/2/23 a las 13:44, Benoit Minisini escribió:

> If you mean using the javascript language instead of Gambas, the 
> answer is obviously: no it's impossible by definition.
> If you mean using a "javascript-like" syntax instead of a "BASIC-like" 
> syntax, it's theoritically possible.
> It needs defining this "javascript-like" syntax, and write a new 
> compiler (or extend the current one).
> But, as the reality of a language is not its syntax but what it 
> actually does at runtime, this "javascript-like" syntax cannot be 
> equivalent to "javascript" - different classes and functions - and 
> some new features should be implemented in the interpreter.
> For example, there is no closures in Gambas. If you want closures in 
> the "javascript-like" syntax, you have to add support for that in the 
> interpreter.
> As a summary: no, Gambas will never be extended to other languages, 
> but it can be extended to other syntaxes. 

OK, I understand, compile is not possible in JavaScript language terms, 
but what about only Auto-completion [ [please see link] and Syntax 

More information about the User mailing list