Directory:Article Heaven/Lexico

MyWikiBiz, Author Your Legacy — Friday March 29, 2024
Jump to navigationJump to search

<adsense> google_ad_client = 'pub-1200304577225263'; google_ad_width = 468; google_ad_height = 60; google_ad_format = '468x60_as'; google_ad_type = 'text_image';//2006-12-28: MWB Directory space google_ad_channel = '2388332058'; google_color_border = '6699CC'; google_color_bg = '003366'; google_color_link = 'FFFFFF'; google_color_text = 'AECCEB'; google_color_url = 'AECCEB'; </adsense>

Lexico is a Spanish language object-oriented educational programming language based on the .NET Framework.

Created to facilitate the programming education, specifically object-oriented programming techniques, Lexico has been shown to be successful in introducing Spanish-speaking students to the design of algorithms and data structures. Lexico was created by Pretends and other researchers, who verified that it does indeed help students learn faster and keeps them motivated. They hypothesize that this is because students can experiment with algorithm design from the start of their journey in the programming world.

Being an educational language, Lexico's structure is simple: simplicity was chosen before performance. It's sufficiently simple to allow a person to learn the basic concepts of logic, algorithms, data structures. Object-oriented concepts have been simplified by the authors making students' introduction to OO paradigms easier.

Lexico's blocks are delimited by { ... } like C#, but conditional execution is done with the keyword es? ([it] is [true]?) and iteration with the loop mientras (while). Lexico's two fundamental types are numbers and strings, but it also supports the full .NET Framework types and constructs. It is thus possible to write complete windowed application in Lexico with events and controls. The lexico free compiler produces programs that can operate on any platform where the .NET Framework is installed.

Here's an example of the Fibonacci algorithm in a console application.

/*Fibonacci source*/
tarea:
{
los objetos i, n, primero, segundo, tercero son cantidades
muestre: "Entre el numero de terminos deseados: "
entre:   n
copie 0 en i, primero
copie 1 en segundo
mientras i<n haga:
           {
            copie i + 1 en i
            muestre primero
            copie primero + segundo en tercero
            copie segundo en primero
            copie tercero en segundo
           } 
}

Here's an object oriented example.

clase ventana derivada_de Form
{
 publicos:
 mensajes:
   ventana copie "Este es el título de mi primera ventana" en ventana.text
}

Now, the programs produced by Lexico run over Windows Mobile (PPC, SmarthPhone, PDA devices).

External links

Template:Wiktionary


<adsense> google_ad_client = 'pub-1200304577225263'; google_ad_width = 468; google_ad_height = 60; google_ad_format = '468x60_as'; google_ad_type = 'text_image';//2006-12-28: MWB Directory space google_ad_channel = '2388332058'; google_color_border = '6699CC'; google_color_bg = '003366'; google_color_link = 'FFFFFF'; google_color_text = 'AECCEB'; google_color_url = 'AECCEB'; </adsense>