Re: Issues installing Euphoria
- Posted by dcuny Dec 01, 2014
- 2234 views
I would also want modern features such as undo, jump to subroutine, and maybe intellisense (I like writing parsers.)
Yeah, I can't resist either. That's why I've got the beginnings of a Euphoria parser intended for intellisense. It'll go through a file and gather various types of blocks (function, procedure, type) along with the parameter lists. It can pick up enums and constants as well. I haven't quite cracked variables, since handling comma delimited lists with assignments gets a bit tricky.
The thing is, the parser has to make sense of what you're writing... even if the code is incomplete or broken. Fun fun fun.
I'd also started on an editor, although there's a long way to go with it. At the moment it just displays text.
But... Really, it's a distraction from what I intended to be using Euphoria for, which is why I ultimately stopped using Euphoria in the first place. Sure, it's a great little language, but having to re-invent the wheel seems sort of pointless. "Pure" Euphoria is well and good, but for stuff like rock-solid editing, mouse support, huge undo/redo, there's no reason to reinvent the wheel.
Scintilla is an awesome little editor, and has hooks that make it really easy to add things like intellisense. I can't imagine anything I'd write that could compete with it.
In my mind, that's really the route to take.
- David