Why language is afraid of dialect

Source: Internet
Author: User

Almost all popular languages have dialects, or different interpretations.

Especially on the Java platform, almost all the major dynamic languages are implemented. But these implementations can never be widely used.

Because almost all of the syntax is built into the implementation. There are subtle differences in the implementation of the approximation.

Language implementations may be identical only when the language's syntax becomes a separate, configurable language, as is the case with data structures, where the grammar files are consistent and the language's performance should be the same.

Perl 6 makes this idea a reality.

Perl 6 itself is defined by a grammar file. It's like an XML configuration file. Modify a parameter and the whole syntax changes.

If Python has a separate syntax description file, all implementations are implemented according to this syntax file, then different implementations can be compared. Which implementations are imperfect and which implementations are problematic. This will guarantee the
The cross-implementation properties of the language.

Why language is afraid of dialect

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.