Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Language grammar and execution implementation using C# and Irony
C#
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
PortugolLanguage.Test
PortugolLanguage
.gitignore
IronyPortugolLang.sln
IronyPortugolLang.vsmdi
Local.testsettings
README.markdown
TraceAndTestImpact.testsettings

README.markdown

Portugol

Exemplo de código:

Randomico(Randomico(100)) * 2 +  
SE 5 <= 2 ENTAO 3 SENAO 
SE 1 = 1 ENTAO 10 SENAO 20

Operadores binários: +, -, * , /

Operadores lógicos: =, <, >, <=, >=, <>

Condição SE: SE condicao ENTAO expressao SENAO expressao

Chamada de função: NomeDaFuncao, NomeDaFuncao(1,2)...

A unica função implementada foi a Randomico que recebe nenhum ou 1 parametro

Something went wrong with that request. Please try again.