In the Portuguese language in Brazil we use ABNT if we want to elaborate a highly correct and precise text before the norms, and to make itself understood before the words we use the dialectic.
In an extremely limited way, yes. ABNT talks about specific text style, not the norm of the text itself, for this it should use dictionary and grammar.
In Mysql I know we use the SQL-99/ANSI-99 compliance standard. But in the syntax of other languages, there is a compliance pattern for the interpreter?
The cited pattern is about syntax and semantics, not about style.
When we need a system analysis created in C#, we refer to the Emacs Text Editor, which presents the compliance standard highlighting the syntax, EMACS encompasses all standard structured languages "C".
Are you actually talking about ECMA-334? If so, it is the official specification of the language, although it has not been updated for some time. Any implementation that means that conforms to the standard C# should do everything that sends this specific. It was ratified by ISO also under number 23270.
ECMA is the European body of standardization, is ABNT or ANSI (A of American) of Europe. ISO is the world body. Only what has been adopted by various regional or national bodies.
But what about languages like Java, PHP, Python, among others? What would be the name of this standard and the body that maintains it? Taking advantage of this question I will prepare a booklet to initiate young people who have never had contact with programming to take their first steps in languages.
Each language has its formal specification or not. Some only use the standard implementation as specification.
C and C++ are the languages that most clearly use the formal specification adopted as world standard.
Java (not found, I don’t know if it was abandoned) and Javascript (in relation, the name isn’t even that) did the same. Ruby has.
Python and PHP didn’t do it. Python has a reference which is more or less the closest thing to a specification. PHP has something that call for specification, nor will I comment on.
Have fun.
If you’re talking about style, Python has his, but it’s almost informal. I did a taken from C# for names. Each language, or even large team has its own. We can’t find that this is standard, let alone standard.
Note that these bodies only approve the standard in their committees formats by interested in it, who makes the standard is something open, can be a person, a company, a group formed for this purpose. There is a committee for C++ and another for C, Microsoft is responsible for C#, Oracle for Java, W3C for Ecmascript, and so on.
There are several terms in the question and comments (and in the other answer too) that do not match the reality, or at least it is not quite so. And there are many wrong premises, and even talking about things that don’t even fit in the context.
Understand the difference between Specification and Implementation.
What interpreter has to do with the subject? You mean an implementation of language that must conform to a specification? What language are we talking about? The SQL example is a specific language, you want to know about others? What does a text editor have to do with the subject? What Emacs has to do?
– Maniero
The default used is the one defined by the language. It usually comes from a formal grammar and from semantic rules. Of course, this would be the equivalent of "Portuguese" when talking about ABNT. The formatting itself would be something more aimed at the stylistic school of the code pattern. I, for example, am "Brackets inline", already have people who are "Brackets in new line"
– Jefferson Quesado
I cited the example of EMACS because by default it shows that the syntax may not be very accepted, in other editors or Ides also happens the same, not being necessary to cite all for the explanation to be clear.
– ESC to heaven
In Java, the maintainer was Sun. But Sun never gave much thought to this and left it abandoned and outdated. Oracle is the heir to this. However, the people of IBM and Eclipse ended up creating a parallel pattern. Google also created a parallel pattern for android. See more about this here. Something similar happened to what happens in ABNT: The ABNT standard focuses much more on references, but is loose and incomplete in other areas, and there are many dissenters who adopt various patterns or variants for numerous reasons.
– Victor Stafusa
@Esctoheaven The answer solved your question? Do you think you can accept it? See [tour] if you don’t know how to do it. This would help a lot to indicate that the solution was useful to you. You can also vote on any question or answer you find useful on the entire site.
– Maniero