This is an interpreter for Portugol.
It is designed as a superset of the language supported by the VisuAlg tool.
- 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 !
A basic browser-interpreted version is available at.