Emerald Editor Discussion
September 24, 2017, 03:05:34 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: there is an error in "extension.r"  (Read 6059 times)
0 Members and 1 Guest are viewing this topic.
mau777
Prospector
*
Posts: 2



« on: November 13, 2009, 10:53:46 am »

Guys,
The file called "extension.r" contains the follow:

LANGSPEC:REBOL.SPC
KEYWORDS:REBOL.KEY

But, it must contains:

LANGSPEC:R.SPC
KEYWORDS:R.KEY

I found this because Emerald editor doesn't coloreize automatically R syntax.

Saludos.

Mauro

Logged
pn8830
Global Moderator
Jeweller
*****
Posts: 252



« Reply #1 on: November 13, 2009, 01:09:44 pm »

Is .r a default extension for Rebol? I never heard of this language but if it's so we'll correct it.

Pavel.
Logged

Entities should not be multiplied beyond necessity
mau777
Prospector
*
Posts: 2



« Reply #2 on: November 14, 2009, 03:15:29 am »

.r is the default extension for "R" scripts.
R is a free software environment for statistical computing and graphics.
http://www.r-project.org/

 Smiley  Saludos
Logged
Phil
Administrator
Master Jeweller
*****
Posts: 427


« Reply #3 on: November 15, 2009, 02:55:55 am »

I have never heard of either language, but based on some quick research with Google, it appears that R and Rebol both use the .r file extension. So I think we should award the extension.r file to the more popular language. Again based on quick research, it appears to me that R is more popular than Rebol; so I guess we can give extension.r to R and add an extension.rebol for Rebol. That way, Rebol programmers can still get syntax highlighting if they just use a different extension.

Ideally, our syntax engine would be smart enough to have language disambiguation logic (perhaps based on keywords), but that might be a complicated feature to add.
Logged
Phil
Administrator
Master Jeweller
*****
Posts: 427


« Reply #4 on: November 15, 2009, 06:17:03 am »

Interesting observation: If you type "Crimson Editor r" in Google, you see a suggestion for Crimson Editor r syntax. Evidently people must search for this enough for it to be a suggestion.

It's interesting to try "Crimson Editor " followed by a letter and see what comes up. It lets you know what people search for. There seems to be a searched-for error message under a. "access to unnamed file was denied". Also, you can see that a lot of people must want hex editor capabilities.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.087 seconds with 18 queries.