/portugol

A new interpreter for Portugol

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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/