Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330238 - Support for Lua language
Summary: Support for Lua language
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: DLTK
Classification: Technology
Component: Common (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: dltk.common-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-15 07:41 EST by Jon Smirl CLA
Modified: 2012-01-09 13:49 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Smirl CLA 2010-11-15 07:41:43 EST
It would be nice to have support for the Lua language that is used in a lot of games (WOW, etc). 

A lot of work has already been done here:
https://github.com/KINFOO/LuaEclipse

But it is suffering from bit rot and not tracking the DLTK releases.

It is based on this debugger that does work:
http://www.keplerproject.org/remdebug/manual.html

Current failure, I think something is wrong in the packaging. The parser is there but Eclipse is not finding it.

!ENTRY org.eclipse.ui 4 0 2010-11-15 07:27:05.767
!MESSAGE Unable to create editor ID org.keplerproject.luaeclipse.editor: Editor could not be initialized.
!STACK 0
java.lang.AbstractMethodError: org.keplerproject.luaeclipse.parser.LuaSourceParser.parse(Lorg/eclipse/dltk/compiler/env/IModuleSource;Lorg/eclipse/dltk/compiler/problem/IProblemReporter;)Lorg/eclipse/dltk/ast/parser/IModuleDeclaration;
	at org.eclipse.dltk.core.SourceParserUtil.parse(SourceParserUtil.java:137)
	at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:197)
	at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:183)
	at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:174)
	at org.eclipse.dltk.core.AbstractSourceElementParser.parse(AbstractSourceElementParser.java:42)
	at org.eclipse.dltk.core.AbstractSourceElementParser.parseSourceModule(AbstractSourceElementParser.java:26)
	at org.eclipse.dltk.internal.core.AbstractSourceModule.buildStructure(AbstractSourceModule.java:507)
	at org.eclipse.dltk.internal.core.Openable.generateInfos(Openable.java:188)
	at org.eclipse.dltk.internal.core.ModelElement.openWhenClosed(ModelElement.java:184)
	at org.eclipse.dltk.internal.core.BecomeWorkingCopyOperation.executeOperation(BecomeWorkingCopyOperation.java:45)
	at org.eclipse.dltk.internal.core.ModelOperation.run(ModelOperation.java:698)
	at org.eclipse.dltk.internal.core.ModelOperation.runOperation(ModelOperation.java:764)
	at org.eclipse.dltk.internal.core.SourceModule.becomeWorkingCopy(SourceModule.java:68)
....
Comment 1 Alex Panchenko CLA 2010-11-15 08:12:00 EST
AbstractMethodError means LuaEclipse was written for different DLTK version.
However, this issue is not related to Eclipse.org projects.

Please try to contact the community of this project(s) at github or luaeclipse.luaforge.net - I am not actually where the active development happens at the moment, as I can see 3 repositories - 2 at github and 1 at luaforge.net.
Comment 2 Benjamin Cabé CLA 2012-01-09 13:49:10 EST
Hey Jon — you might want to try Koneki LDT (http://www.eclipse.org/koneki/ldt), which is kind of a successor to LuaEclipse!