In case you missed it, I just wrote a post about working with the docs.
http://yi-editor.blogspot.com/
-- JP

On Sun, Mar 29, 2009 at 9:21 AM, Jean-Philippe Bernardy
<jeanphilippe.berna...@gmail.com> wrote:
> 2009/3/28 Spyros Hadjichristodoulou <hlektrolo...@gmail.com>:
>> Dear Jean-Philippe,
>>
>> Thanks for your immediate response. I have a couple of questions about how
>> Yi applies the incremental parsing techniques described on your paper.
>>
>> I will be needing the haddoc files generated uppon Yi's compilation (if
>> any), because on my installation they don't seem to be any.
>
> I uploaded my docs to:
>
> http://projects.haskell.org/yi/doc/
>
>> In order to enable Yi to "understand" (syntax highliting etc.) a new
>> language, I realize that I need to create a new .x file in /Yi/Lexer, and a
>> new .hs file in /Yi/Syntax. Is this the only thing I have to do, or are
>> there any more files needed to be created/modified?
>
> You also need to attach your parser to a mode and "publish it".
>
> So you can create mode-related code in Yi/Mode/YourLanguage and put it
> in Yi/Config/Default (look for modeTable).
>
> I suggest you use the javaScript mode as a template.
>
>> Thanks again,
>
> Cheers,
> JP.
>

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to