You can add a mode-dependent function on the model of modeFollow; start looking in the datatype Mode in Yi.Buffer.Misc.
On Tue, May 19, 2009 at 6:51 PM, Deniz Dogan <[email protected]> wrote: > > Hi all, > > I'm currently trying to write a light-weight verifier (think > jslint[1]) for the JavaScript mode. My verifier has the type "verify > :: Tree -> IO ()" (kind of), so it needs the AST which is returned > from the JavaScript parser. How do I extract that information? > > Thanks, > Deniz > > [1] http://www.jslint.com/ > > > > --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list [email protected] http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---
