Skip to content

GabrielValeRios/APS-Linguagem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APS-Linguagem

Tópicos "WishList":

  • Linguagem não é tipada.
  • Há ";".
  • Loops e Condições exigem "{}" ao começo e final. Ex: " if (x>4){do something}.
  • Não existe "For".
  • Os programas irão rodar em um "Main". Ex: " main(){ BODY }".
  • Comandos serão em inglês.
  • Comandos serão reduzidos:

main -> mn. Ex: mn(){body}

return -> rt. Ex: return x;

print -> pf. Ex: pf x+1;

> -> bg. Ex: if(x bg y){body}

< -> lt. Ex: if(x lg y){body}

== -> sm. Ex: if(x == y){body}

while -> wh. Ex: wh(x bt 10){body}

else -> el. Ex: if(bool_expre){body_1} el{body_2}

  • Existem funções. Ex:

func1(x){body with return}

  • Chamada de Função:

v = func1(x);

Referências

rply docs

artigo sobre uso

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages