feature-language – What is the difference between VisuAlg and Portugal?

Question:

I see here a great stir in the tags and . From the tag wiki, it looks like VisuAlg would be the interpreter and Portugol would be the language itself.

  • Is VisuAlg considered as a programming language? 1
  • If so, is there a syntactic difference between them?
  • What is the distinction between these two entities?
  • Portugal was formally defined in the 1980s by Professors Mannso and Nicolodi. Is Portugal taught in colleges still compatible with this definition? Or was there a way to add more functionality? Or does each teacher follow their own language?
  • What is the correct spelling? visualg, VisuAlg, VisualG, Visualg, VISUALG?

Further reading

(Which even so I was not fully satisfied and I continued to doubt)

Grades

  1. I'm using a softer definition of a programming language that includes pseudocodes

Answer:

First let's go through the definitions of both.

Definition of Portugal :

Portugol is a pseudo- algorithmic language widely used in the description of algorithms, which stands out for the use of commands in Portuguese, which facilitates the learning of programming logic, getting the beginner used to the programming formalism.

Definition of VisuAlg (Algorithm Viewer) :

VisuAlg is a Windows application that allows you to edit, interpret and execute algorithms with a language close to Portuguese, structured like a normal computer program.

A second definition of VisuAlg:

VisuAlg is a very powerful but simple tool, similar to Portugol, very popular in academic circles and present in the most used books.

Now the questions:

Is VisuAlg considered as a programming language?

VisuAlg is an interpreter created by Apoio Informática, it reads and interprets in a language similar to structured Portuguese (Portugol) as a normal computer program.

The current VisuAlg Patent is in the name of one of the interpreter's creators, Professor Antonio Carlos Nicolodi

Is there a syntactic difference between them?

As the Update says, until Version 2.0 the official language of VisuAlg was Portugol, however from then onwards, as it caused many inconveniences by accents, words with or without "ç". In short it is a version of Portugol that is not Case Sensitive , and mainly in its commands it is accepted in more than one way, for example the for which for Portugol is just this basic structure: x de 1 ate 10 faca in the Visualg language can be FAÇA ATÉ for example (uppercase, without the cedilla and with accent). Structurally speaking there is almost nothing , as it is also a pseudo code the way to structure the data is the same

What is the distinction between these two entities?

I believe the above definition and answers explain this question.

Portugal was formally defined in the 1980s by Professors Mannso and Nicolodi. Is Portugal taught in colleges still compatible with this definition? Or was there a way to add more functionality? Or does each teacher follow their own language?

There is no set date for the Creation of Portugal, what it was possible to find was that from 72, with the establishment of Decree No. 70.370 , with the creation of CAPRE (Commission for the Coordination of Electronic Processing Activities), which investments , improvements and standardizations related to the technical area of ​​the field, leading to believe that in the mid-70s, Portugal was also created, since among the definitions of CAPRE is:

coordinate training programs at all levels of computational techniques, making use of existing resources in universities, schools and research centers

From 2005 onwards (the year of the launch of VisuAlg) it started to be used in numerous universities and teaching places, however, as the professor himself explained, it is still the standard taught for teaching places, the same is no longer valid for VisuAlg , choosing to teach with VisuAlg , currently it means learning a Portuguese dialect, but not it, at least not 100%, its development method is the same (after all it is a pseudocode too), but with some improvements that make it different from Portugol , but if you use VisuAlg for teaching, it will be the default language of the compiler (modified Portuguese).

Note: It lacks more technical sources for a complete result, however, as stated in another answer, @JoséDiz had contact in the 70s, possibly dating between the period dated (72) and the one he found in his books(77 ).

What is the correct spelling? visualg, VisuAlg, VisualG, Visualg, VISUALG?

On the creators website is VisuAlg, with the capital "V" and "A" so I believe this is the correct spelling. Note : Currently, if you enter the official page of VisuAlg 3.0 (current) it says VisualG, in the manual this VISUALG and visualg, but until version 2.0 there was VisuAlg.

Personal opinion: the Change I believe was more a form of marketing, the new VisuAlg logo is with the G and not the A capitalized while in previous versions it is in the old spelling. In the manual it appears different both from the site and from previous versions, I believe that there was no care to write in the correct spelling precisely because it was set up to be something didactic, preferring the content to taking care of the way you write VisuAlg, today I don't see much problem of writing the way you want, for that very reason.

UPDATE

I got in touch with Professor Antonio Carlos Nicolodi, one of the creators of Portugol and VisuAlg and that's what he said:

When I made Visualg ( https://pt.wikipedia.org/wiki/Visualg ) together with professor Cláudio in the first versions up to 2.0 it was only compatible with pure portugol because in PORTUGOL it is commonly used accents and Ç (c cedilha ) in expressions (commands and functions) and not in Visualg, besides, in PORTUGOL there are only simple commands to solve problems, without worrying about some resources like LIMPARTELA that cleans the user's screen, for example. After version 2.5, Cláudio and I created new commands and resources, which Portugal didn't have or didn't have.

In Visualg's pseudo language (until version 2.5), both professor Claudio and I created a language similar to Portuguese because it was in lowercase and did not accept "Ç, ç" and accents such as: "é, ã" from our Portuguese language.

Where in PORTUGOL appeared in the commands of many literatures (books and magazines) such as:

Ex.

For x from 1 to 10 Make ….

In VISUALG 2.0 or 2.5 they would look like this:

for x from 1 to 10 knife // (until and not until or knife and do not do) And how this caused a lot of inconvenience for many users (students/teachers) and could even not work in Visualg, leaving the user confused, as he did not know if I had typed correctly or not, even though I had correctly copied from the available materials, I always warned them that Visualg Language was a functional version but not the same as PORTUGOL (so you should be careful)

From the time that prof. Claudio left me alone developing this project and I created version 3.0, ( http://visualg3.com.br/ )

in this version i decided that this would change, so for compatibility, when the algorithms were written in lowercase they could be the old way

ex. for x from 1 to 10 knife

But, when the commands were written in CAPITAL LETTERS, they can write with accentuation and Ç (c cedilla) like this:

ex. FOR x FROM 1 TO 10 DO

References

Scroll to Top