Cirru – An editor for AST
11–20 of 53 posts
Re: Cirru – An editor for AST
#12What I want is for the editor to be aware of the semantics of the language and offer me language-unique tools to edit code, also to generate and work on macros, in the language it's editing , or at least one that is close enough to it I don't have to switch gears in order to get a tough task done. Otherwise it really doesn't improve on a text editor. All of these things would require a ton of work, so I stick with Su…
Re: Cirru – An editor for AST
#13But ... which language(s)' AST? Clojure? It feels like we could all use more context here.
Re: Cirru – An editor for AST
#14I find myself wanting to edit the textual version of the AST itself, as the tree interface seems too cryptic edit: I'm guessing its probably a bug that is confusing me the most, as I'm getting both a inline tree and a indented tree at the same time for a node
Re: Cirru – An editor for AST
#15What I want is for the editor to be aware of the semantics of the language and offer me language-unique tools to edit code, also to generate and work on macros, in the language it's editing , or at least one that is close enough to it I don't have to switch gears in order to get a tough task done. Otherwise it really doesn't improve on a text editor. All of these things would require a ton of work, so I stick with Su…
Re: Cirru – An editor for AST
#16But ... which language(s)' AST? Clojure? It feels like we could all use more context here.
Author here. Theoretically it can any language that has a simple way to generate code from a simple AST. But in my case it's Clojure because in Lisp I can generate code from data easily with https://github.com/brandonbloom/fipp/ . I wrote several posts before I guess it's can not be explained with only two pages.
Re: Cirru – An editor for AST
#17What I want is for the editor to be aware of the semantics of the language and offer me language-unique tools to edit code, also to generate and work on macros, in the language it's editing , or at least one that is close enough to it I don't have to switch gears in order to get a tough task done. Otherwise it really doesn't improve on a text editor. All of these things would require a ton of work, so I stick with Su…
BTW, I don't know much about building IDEs, so I won't analyze code by myself and let the editor recognize the code. Could be very tough work.
Re: Cirru – An editor for AST
#18Earlier quoted context omitted.
Author here. Theoretically it can any language that has a simple way to generate code from a simple AST. But in my case it's Clojure because in Lisp I can generate code from data easily with https://github.com/brandonbloom/fipp/ . I wrote several posts before I guess it's can not be explained with only two pages.
Ok, great. If nothing else, the title of this submission could clarify the context.
Re: Cirru – An editor for AST
#19What I want is for the editor to be aware of the semantics of the language and offer me language-unique tools to edit code, also to generate and work on macros, in the language it's editing , or at least one that is close enough to it I don't have to switch gears in order to get a tough task done. Otherwise it really doesn't improve on a text editor. All of these things would require a ton of work, so I stick with Su…
That said, it's not the perfect text editor. I don't know that it really imposes any particular workflow (beyond obvious requirements like having access to the libraries you require), but there are certainly many things that you can do in Sublime that aren't going to work in RubyMine.
Re: Cirru – An editor for AST
#20May be good idea for mobile devices, where editing text is hard but it's possible to make usable tree editing UI.