<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/last-comp/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/last-comp/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/last-comp/bugs/</id><updated>2004-05-22T09:28:36Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Ejemplo 2, codigo mal generado</title><link href="https://sourceforge.net/p/last-comp/bugs/8/" rel="alternate"/><published>2004-05-22T09:28:36Z</published><updated>2004-05-22T09:28:36Z</updated><author><name>xino_moreno</name><uri>https://sourceforge.net/u/userid-1026779/</uri></author><id>https://sourceforge.nete52d55fafab90c65f1586c6c732747c7cb2a2969</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;En las llamadas a las funciones, lineas 47 y 49, se&lt;br /&gt;
generan PUSH parametros: -----&lt;br /&gt;
Hay un POP 4 que debe ser la direcion de&lt;br /&gt;
calculafa_factorial&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Prueba-miquel03 peta</title><link href="https://sourceforge.net/p/last-comp/bugs/7/" rel="alternate"/><published>2004-05-21T11:18:42Z</published><updated>2004-05-21T11:18:42Z</updated><author><name>xino_moreno</name><uri>https://sourceforge.net/u/userid-1026779/</uri></author><id>https://sourceforge.nete52f1295f71e0634ca88f3b469bb62351499d971</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Llamada sobre elemento de vector. El nodo Accesovector&lt;br /&gt;
no tiene info, asi que no hay que acceder a info desde&lt;br /&gt;
AccesoFuncion para saber el tipo de la funcion. Ademas&lt;br /&gt;
no hace falta, el tipo tb esta fuera de info.&lt;br /&gt;
Al generar la llamada, no tenemos info.dir. Hay que&lt;br /&gt;
pasar la direccion de la funcion por la pila.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>prueba12 peta</title><link href="https://sourceforge.net/p/last-comp/bugs/6/" rel="alternate"/><published>2004-05-21T09:13:45Z</published><updated>2004-05-21T09:13:45Z</updated><author><name>xino_moreno</name><uri>https://sourceforge.net/u/userid-1026779/</uri></author><id>https://sourceforge.net5f9fdd7d238ff62324e5cccad47025d21950f94b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;En el desplazamiento de un vector puede haber una&lt;br /&gt;
variable! Hay que ver si es variable , para generar&lt;br /&gt;
codigo que le reste 1 y multipiquer por la talla de los&lt;br /&gt;
componentes. Si es literal, lo calculamos en compilacion.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>prueba-miquel02.last</title><link href="https://sourceforge.net/p/last-comp/bugs/5/" rel="alternate"/><published>2004-05-21T07:53:16Z</published><updated>2004-05-21T07:53:16Z</updated><author><name>xino_moreno</name><uri>https://sourceforge.net/u/userid-1026779/</uri></author><id>https://sourceforge.net1bd986e313734e6e92cf1440e640eb06b5db4d60</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;No imprime los \n. Creo que hay varias cosas mal, no&lt;br /&gt;
peta de milagro. Creo que el desplazamiento del campo&lt;br /&gt;
se calcula mal, porque no hay vector, y aun asi se&lt;br /&gt;
desplaza 1 para la direccion del primer campo.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Error semantico en programa correcto</title><link href="https://sourceforge.net/p/last-comp/bugs/4/" rel="alternate"/><published>2004-05-20T23:06:48Z</published><updated>2004-05-20T23:06:48Z</updated><author><name>xino_moreno</name><uri>https://sourceforge.net/u/userid-1026779/</uri></author><id>https://sourceforge.net0bd2d4f97cc016df3bbdf8f4a1add9b6017bf213</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;PROGRAMA:&lt;br /&gt;
globals&lt;br /&gt;
a: (integer) -&amp;gt; integer&lt;br /&gt;
end&lt;br /&gt;
a:= func (b:integer) -&amp;gt; integer&lt;br /&gt;
is&lt;br /&gt;
b*3&lt;br /&gt;
end;&lt;br /&gt;
print(a(3))&lt;/p&gt;
&lt;p&gt;SALIDA COMPILACION:&lt;br /&gt;
Error sem&amp;amp;#65533;ntico en l&amp;amp;#65533;nea 8: S&amp;amp;#65533;lo s&amp;amp;#65533; escribir enteros,&lt;br /&gt;
reales, cadenas y l&amp;amp;#65533;gicos.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Prueba de Alex peta</title><link href="https://sourceforge.net/p/last-comp/bugs/3/" rel="alternate"/><published>2004-05-20T23:03:08Z</published><updated>2004-05-20T23:03:08Z</updated><author><name>xino_moreno</name><uri>https://sourceforge.net/u/userid-1026779/</uri></author><id>https://sourceforge.net510fd735d97f0c8dbd433d7e99f84793a1a32794</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;PROGRAMA:&lt;br /&gt;
globals&lt;br /&gt;
a,b:integer,&lt;br /&gt;
fun: (integer) -&amp;gt; string,&lt;br /&gt;
c:{a:integer}&lt;br /&gt;
end&lt;br /&gt;
c.a:=0;&lt;br /&gt;
fun:= FUNC (k:integer) -&amp;gt; string&lt;br /&gt;
IS&lt;br /&gt;
print(real(k),"\n")&lt;br /&gt;
end&lt;/p&gt;
&lt;p&gt;ERROR DE COMPILACION&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
File "./last.py", line 1347, in ?&lt;br /&gt;
mc_main()&lt;br /&gt;
File "./last.py", line 242, in main&lt;br /&gt;
A.arb.compsemanticas()&lt;br /&gt;
File "./fuente/AST.py", line 34, in compsemanticas&lt;br /&gt;
self.expr.compsemanticas()&lt;br /&gt;
File "./fuente/AST.py", line 600, in compsemanticas&lt;br /&gt;
self.tipo = self.l[len(self.l)-1].tipo&lt;br /&gt;
AttributeError: NodoAsignacion instance has no&lt;br /&gt;
attribute 'tipo'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>El ejemplo 2 peta</title><link href="https://sourceforge.net/p/last-comp/bugs/2/" rel="alternate"/><published>2004-05-20T19:25:05Z</published><updated>2004-05-20T19:25:05Z</updated><author><name>xino_moreno</name><uri>https://sourceforge.net/u/userid-1026779/</uri></author><id>https://sourceforge.netb13b6b1a0e7b3d93c57612e4d1def4e75c1f19c5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;[miquel@localhost EjemplosLaST]$ ../fuente/last.py&lt;br /&gt;
e2-factorial.last Traceback (most recent call last):&lt;br /&gt;
File "../fuente/last.py", line 1347, in ?&lt;br /&gt;
mc_main()&lt;br /&gt;
File "../fuente/last.py", line 241, in main&lt;br /&gt;
A= AnalizadorSintactico(f)&lt;br /&gt;
File "../fuente/last.py", line 368, in __init__&lt;br /&gt;
self.mc_analiza_Programa(Programa)&lt;br /&gt;
File "../fuente/last.py", line 1028, in&lt;br /&gt;
mc_analiza_Programa&lt;br /&gt;
self.mc_analiza_DeclG(DeclG1)&lt;br /&gt;
File "../fuente/last.py", line 666, in mc_analiza_DeclG&lt;br /&gt;
self.mc_analiza_Sec(Sec1)&lt;br /&gt;
File "../fuente/last.py", line 1058, in mc_analiza_Sec&lt;br /&gt;
self.mc_analiza_DefC(DefC2)&lt;br /&gt;
File "../fuente/last.py", line 736, in mc_analiza_DefC&lt;br /&gt;
if ValConst.tipo == tipos.Cadena:&lt;br /&gt;
AttributeError: Atributos instance has no attribute 'tipo'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>me sale esto creo que al poner ; despues de una declaracion</title><link href="https://sourceforge.net/p/last-comp/bugs/1/" rel="alternate"/><published>2004-05-05T22:23:56Z</published><updated>2004-05-05T22:23:56Z</updated><author><name>xino_moreno</name><uri>https://sourceforge.net/u/userid-1026779/</uri></author><id>https://sourceforge.net8116678462e2f68c539c855b7e669079552d540c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;si&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>