Skip to content

rbonichon/portugol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is an interpreter for Portugol.

It is designed as a superset of the language supported by the VisuAlg tool.

Differences with VisuAlg

  • Support for vectors as subroutine parameters (always references)
  • Typing discipline
    • We should not allow to have real types and be able to do things like comparing booleans and strings.
  • Arithmetic expressions correctly interpreted For example, VisuAlg says : 5 / 6 \ 7 = 5 / 6 % 7 = 7 !

Web

A basic browser-interpreted version is available at.

http://rbonichon.github.io/portugol/www/