Print Page | Close Window

Support for LUA?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Syntax Edit
Forum Description: Topics Related to Codejock Syntax Edit
URL: http://forum.codejock.com/forum_posts.asp?TID=6922
Printed Date: 21 November 2024 at 5:48pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Support for LUA?
Posted By: znakeeye
Subject: Support for LUA?
Date Posted: 18 April 2007 at 2:16pm
Has anybody written a syntax color scheme for LUA ( http://www.lua.org - www.lua.org )?
I believe this would be useful for many of us.
 
https://forum.codejock.com/uploads/20070507_105634_editconfig.zip - uploads/20070507_105634_editconfig.zip
 
There it is.



Replies:
Posted By: znakeeye
Date Posted: 24 April 2007 at 9:10pm
I have created a color scheme for LUA. If anybody is interested, just let me know and I will upload it.


Posted By: esc67
Date Posted: 06 May 2007 at 4:46am
 
I tried this in 10.4.2 with mixed results. There are aspects of the language that don't work well to the codejock lex.  Maybe it could be done int v11?


Posted By: znakeeye
Date Posted: 06 May 2007 at 6:21am
Well, I got it working. I think :)


Posted By: adrien
Date Posted: 06 May 2007 at 5:31pm
I tried a while using the sample framework, but it didn't work that well, wrapped out the function prototype lines etc.  If you could upload would be appreciated


Posted By: esc67
Date Posted: 06 May 2007 at 7:06pm
 
Yes, please post! I'd be happy to test it and help.
 
It's nice to know there are at least three codejock && Lua users 
 
 


Posted By: znakeeye
Date Posted: 07 May 2007 at 10:57am
See link above. Please notify me if you improve the scheme somehow. Also note that some lines should be uncommented (math.*, debug.* etc).


Posted By: apuhjee
Date Posted: 02 June 2007 at 4:42pm
I was just about to post a request for this. I'd love it if Codejock could validate the correctness of this and make it part of the distribution. I'm sure there are just as many users wishing to edit Lua as there are people editing Codejock Schema files ;)

Cheers ~ jp

-------------
I like mathematics because it is not human and has nothing particular
to do with this planet or with the whole accidental universe — because,
like Spinoza's God, it won't love us in return.


Posted By: apuhjee
Date Posted: 12 September 2007 at 3:47pm
Looks like Python made it in, but no Lua


Posted By: esc67
Date Posted: 12 September 2007 at 4:16pm

Originally posted by apuhjee apuhjee wrote:

Looks like Python made it in, but no Lua

Huh?  Made it in what?  Has 11.2 been released?
 
Edit:  Ah! I found your source: http://forum.codejock.com/forum_posts.asp?TID=7918 - http://forum.codejock.com/forum_posts.asp?TID=7918
 


Posted By: esc67
Date Posted: 12 September 2007 at 4:21pm
Originally posted by znakeeye znakeeye wrote:

Has anybody written a syntax color scheme for LUA ( http://www.lua.org - www.lua.org )?
 
A color scheme is nice, but without expand-collapse regions I’ll stick with Scintilla. I tried valiantly to write a structural Lua scheme and pretty much failed. 
 
Although Lua’s syntax is rather intuitive to program, its block structure doesn’t lend itself well to the model that SyntaxEdit expects. Unlike C, you can’t simply look for curly brackets everywhere. 
 
[===[And don’t forget the cool "infinitely recursive" string literal delimeter!] ===]  My experimental scheme stopped around the 10th level of nesting.
 
Then again, maybe it can be done...


Posted By: SuperMario
Date Posted: 13 September 2007 at 12:34pm
LUA will be scheduled for 11.2.1.


Posted By: apuhjee
Date Posted: 13 September 2007 at 2:18pm
Thanks - that's good news.


Posted By: esc67
Date Posted: 13 September 2007 at 4:21pm
 
Excellent!  I'd be happy to help test it...
 
-Erik
 


Posted By: Tomasz
Date Posted: 17 September 2007 at 9:17am
I hope fixes to much more severe problems mentioned in https://forum.codejock.com/forum_posts.asp?TID=6210 - https://forum.codejock.com/forum_posts.asp?TID=6210  are scheduled for 11.2.1 too. They were reported in January 2007. It is highest time to have them fixed by now.


Posted By: collabear
Date Posted: 24 November 2007 at 11:40am
Originally posted by SuperMario SuperMario wrote:

LUA will be scheduled for 11.2.1.
 
Where can i find the schemas file?


Posted By: AndreiM
Date Posted: 25 November 2007 at 4:00am
In the SyntaxEdit Sample or see link in the first post.

-------------
Regards,
Andrei Melnik


Posted By: znakeeye
Date Posted: 26 July 2008 at 8:07pm

Have you guys tested this _LUA.schclass file? Is it good enough? :)



Posted By: adrien
Date Posted: 27 July 2008 at 9:26pm
it's just colour highlighting - no structural analysis (so no collapse).
 
add to that other problems with syntaxedit.... -> we still use scintilla...


-------------
http://www.wingate.com - http://www.wingate.com


Posted By: znakeeye
Date Posted: 06 August 2008 at 6:28pm
adrien, I find it hard to make a better edit control than Scintilla. It's been refined for years.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net