



Postanowiłem napisać konwerter mojego jezyka do vb.net. Potem mój programik kompiluje vb.net i tak wychodzi gotowy program! Oto przykładowy kod w moim jezyku:
pack Program
procedure main()
define hello:string
print "Podaj swoje imie:"
read hello
printline "**********"
if hello != ""
printline "Witaj, " & hello
end if
end procedure
end pack
Wbrew pozorom napisanie konwertera nie jest takie trudne, tylko trzeba czasu(2-3 tygodnie:))
i chęci.
Zobaczmy model objektowy:
private class Zwierze
public Imie:string
public IleLat:integer
end class
class Pies
extends Zwierze
end class
#Definicja Objektu
define mojZwierzak:Pies
equiv mojZwierzak.Imie "Bruno"
equiv mojZwierzak.IleLat 5
Czekam na komentarze…


More Options ...

Categories
Tag Cloud
Blog RSS
Comments RSS
Void
Life « Default
Earth
Wind
Water
Fire
Light 