Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: FocusedWolf on February 17, 2006, 04:58:22 pm

Title: Scripting Languages syntax-highlighting/debug/compile addin idea
Post by: FocusedWolf on February 17, 2006, 04:58:22 pm
Was just thinking... c++ is a language that gets alot of work with embedded scripting languages like Lua, Python, and Ruby (Lua is best :P).

So some syntax highlighting, error checker, and compilation (Lua is only one i'm sure of that supports bytecode compilation), and auto completion would be perfect in C::B.
Title: Re: Scripting Languages syntax-highlighting/debug/compile addin idea
Post by: takeshimiya on February 17, 2006, 05:07:41 pm
Short answer:
syntax highlighting: it's already there for Lua and Python.
compilation: with the compiler redesign it will be almost too easy (for now, you can use the Tools menu).
error checker: that's what interpreted shell/compilers are for.
autocompletion: with a CTags plugin it will be easy.

If you are talking about embedded scripting for C::B itself, that's already done, with a language called AngelScript.
Title: Re: Scripting Languages syntax-highlighting/debug/compile addin idea
Post by: FocusedWolf on February 17, 2006, 05:22:01 pm
Hmm sounds like c::B is on the right track. I think my work here is done :p
Title: Re: Scripting Languages syntax-highlighting/debug/compile addin idea
Post by: sethjackson on February 17, 2006, 05:52:07 pm
Hmm we don't have a ruby lexer though.  :P I may just write one. :lol: