Yi (editor)

Yi (editor)

Infobox Software
name = Yi



caption = Yi in GTK mode
author = Various; primary developer Jean-Philippe Bernardy
latest release version = 0.4.3
latest release date = 29 July 2008
latest preview version = latest Darcs revision
latest preview date = (snapshot)
operating system = POSIX-compatible (minimal Microsoft Windows support)
platform = Cross-platform; requires GHC
language = English
genre = Text editor
license = GPL
website = [http://haskell.org/haskellwiki/Yi]

Yi is a text editor written and extensible in Haskell. The goal of Yi is to provide a flexible, powerful and correct editor core dynamically scriptable in Haskell.

Yi is a Haskell interpreter [ This is implemented by binding to the Glasgow Haskell Compiler API; in other words, Yi will call a built-in copy (hs-plugins) of GHC] , very much like Emacs is an Emacs Lisp interpreter; however, the authors of the Yi paperwho point out that this technique is as powerful as the Emacs method of loading at runtime dynamically typed code but can be accomplished with static typed Haskell code - allowing for greater performance and safety. Specifically, Yi is implemented as a small executable program which compiles through GHC the larger body of code which actually constitutes a useful editor; this small 'kernel' can repeatedly recompile (and thus type-check) the extensions. This makes it easy to dynamically hack, experiment and modify Yi despite it being written in a strongly statically typed language. Using Haskell as a first-class extension languages means that other libraries and tools written in Haskell are also readily usable in editor code.

The long term goal of the project is to in essence make Yi the editor of choice for Haskell hackers in much the same way that Emacs is the editor of choice for Lisp programmers.

Front ends

Yi can use either gtk2hs or vty as front ends, so users can choose their favorite interface. There is also an experimental Cocoa frontend.

"Emulation modes"

The primary emulation modes for Yi are vim and emacs. Keybindings for vi, mg and nano and other are also provided. Other editor interfaces can be written by the user to extend Yi.

References

*

External links

* [http://haskell.org/haskellwiki/Yi Yi Homepage] on the Haskell wiki


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Editor de texto — Saltar a navegación, búsqueda Plantilla:«vino Colombiano» El Vino colombiano. El viñedo Ain Karim, donde se producen los vinos Marqués de Villa de Leyva[1], nació como mezcla de inspiración y visión del futuro en los años 80; cuando se concibe la …   Wikipedia Español

  • Editor de páginas web — Saltar a navegación, búsqueda Un editor de páginas Web es una aplicación diseñada con el fin de facilitar la creación de documentos HTML o XHTML. Su complejidad puede variar desde la de un simple editor de texto plano, entornos WYSIWYG, hasta… …   Wikipedia Español

  • Editor hexadecimal — Saltar a navegación, búsqueda Hexplorer, un editor hexadecimal para Windows de código abierto. Un editor hexadecimal (o editor de archivos binarios) es un tipo de programa informático que permite a un usuario modificar archivos binarios. Los… …   Wikipedia Español

  • Editor de gráficos vectoriales — Saltar a navegación, búsqueda Captura de pantalla del editor de gráficos vectoriales xfig …   Wikipedia Español

  • editor — ed‧i‧tor [ˈedtə ǁ ər] noun [countable] 1. JOBS the person who has responsibility for deciding what should be included in a newspaper or magazine: • Lawson had seen many financial scandals when working as a City Editor. • the foreign editor of… …   Financial and business terms

  • editor — EDITÓR, OÁRE, editori, oare, s.m. şi f. Persoană care editează o operă. – Din fr. éditeur, lat. editor, oris. Trimis de LauraGellner, 10.06.2004. Sursa: DEX 98  EDITÓR s. (înv.) librar. Trimis de siveco, 05.08.2004. Sursa: Sinonime  editór s …   Dicționar Român

  • Editor de gráficos rasterizados — Saltar a navegación, búsqueda Una captura de pantalla del editor de KDE KolourPaint …   Wikipedia Español

  • Editor — Saltar a navegación, búsqueda La palabra editor puede hacer referencia a: Editor o editorial, persona o empresa que publica libros, revistas, etc. Montaje. Un programa de computadora como un: Editor de texto, un programa para editar texto sin… …   Wikipedia Español

  • Editor de código fuente — Saltar a navegación, búsqueda Un editor de código fuente es un editor de texto diseñado específicamente para editar el código fuente de programas informáticos. Puede ser una aplicación individual o estar incluido en un entorno de desarrollo… …   Wikipedia Español

  • Editor en jefe — Saltar a navegación, búsqueda Un editor en jefe (también llamado editor en jefe de redacción y ejecutivo) es el editor principal de una publicación, con la responsabilidad final de las operaciones y políticas.[1] [2] El término se aplica… …   Wikipedia Español

  • Editor — [ˈeːditoːr, eˈdiːtoːr] (von lat. edere „herausgeben“, editor „Herausgeber“) steht für: den Herausgeber im Verlagswesen Editor [ˈɛdɪtə] (von engl. to edit = (Texte etc.) „herausgeben, redigieren, bearbeiten“, (Film) „schneiden“) steht für: Cutter… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”