Re: atom/st indent/lex file

2020-02-28 Thread Keisuke Miyako via 4D_Tech
must be Sublime Text

On Feb 29, 2020, at 0:30, John DeSoi via 4D_Tech 
<4d_tech@lists.4d.com> wrote:

I don't know what "ST" is.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: atom/st indent/lex file

2020-02-28 Thread Tom Benedict via 4D_Tech
Along the same lines, I’d like something like this for HTML which can recognize 
4D Tags and color them differently than HTML comments in NotePad++.

Tom Benedict

> On Feb 28, 2020, at 08:30, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I'm working on something for TextMate and/or BBEdit. I'll post it, hopefully 
> in the next week or two.
> 
> Note 4D is a lot more difficult to syntax color than other languages because 
> you can't disambiguate many tokens without the structure file information. 
> Having "code with tokens" helps somewhat, but is harder to read. Even with 
> tokens, you have things like $value:=Some_Token. Some_Token could be a 
> process variable, method call, or component call. No way to know without the 
> 4D structure information.
> 
> I don't know what "ST" is.
> 
> John DeSoi, Ph.D.
> 
> 
>> On Feb 28, 2020, at 9:54 AM, Mike Kerner via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> has anyone generated a grammar/lex/indent file for ST or atom for 4D?
> 

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: atom/st indent/lex file

2020-02-28 Thread John DeSoi via 4D_Tech
I'm working on something for TextMate and/or BBEdit. I'll post it, hopefully in 
the next week or two.

Note 4D is a lot more difficult to syntax color than other languages because 
you can't disambiguate many tokens without the structure file information. 
Having "code with tokens" helps somewhat, but is harder to read. Even with 
tokens, you have things like $value:=Some_Token. Some_Token could be a process 
variable, method call, or component call. No way to know without the 4D 
structure information.

I don't know what "ST" is.

John DeSoi, Ph.D.


> On Feb 28, 2020, at 9:54 AM, Mike Kerner via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> has anyone generated a grammar/lex/indent file for ST or atom for 4D?

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

atom/st indent/lex file

2020-02-28 Thread Mike Kerner via 4D_Tech
has anyone generated a grammar/lex/indent file for ST or atom for 4D?

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**