Misplaced Pages

Maya Embedded Language

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

The Maya Embedded Language (MEL) is a scripting language used to simplify tasks in the 3D graphics software Autodesk Maya . Most tasks that can be achieved through Maya's GUI can be achieved with MEL, as well as certain tasks that are not available from the GUI. MEL offers a method of speeding up complicated or repetitive tasks, as well as allowing users to redistribute a specific set of commands to others that may find it useful.

#221778

60-598: MEL is syntactically similar to Perl and Tcl . It provides some memory management and dynamic array-allocation, and offers direct access to functions specific to Maya. The majority of standard Maya commands are default MEL scripts, saved in the Maya Program Files directory. MEL is fairly limited compared to mainstream scripting languages. It is primarily a language meant to journal the Maya session, so it lacks many advanced features such as associative arrays. Python

120-473: A switch statement (called "given"/"when"), regular expressions updates, and the smart match operator (~~). Around this same time, development began in earnest on another implementation of Perl 6 known as Rakudo Perl, developed in tandem with the Parrot virtual machine . As of November 2009, Rakudo Perl has had regular monthly releases and now is the most complete implementation of Perl 6. A major change in

180-482: A base object from which all classes were automatically derived and the ability to require versions of modules. Another significant development was the inclusion of the CGI.pm module, which contributed to Perl's popularity as a CGI scripting language . Perl 5.004 added support for Microsoft Windows , Plan 9 , QNX , and AmigaOS . Perl 5.005 was released on July 22, 1998. This release included several enhancements to

240-508: A case for a major new language initiative. This led to a decision to begin work on a redesign of the language, to be called Perl 6. Proposals for new language features were solicited from the Perl community at large, which submitted more than 300 RFCs . Wall spent the next few years digesting the RFCs and synthesizing them into a coherent framework for Perl 6. He presented his design for Perl 6 in

300-404: A general-purpose Unix scripting language to make report processing easier. Since then, it has undergone many changes and revisions. Perl originally was not capitalized and the name was changed to being capitalized by the time Perl 4 was released. The latest release is Perl 5, first released in 1994. From 2000 to October 2019 a sixth version of Perl was in development; the sixth version's name

360-595: A given algorithm can be short and highly compressible. Perl gained widespread popularity in the mid-1990s as a CGI scripting language, in part due to its powerful regular expression and string parsing abilities. In addition to CGI, Perl 5 is used for system administration , network programming , finance, bioinformatics , and other applications, such as for graphical user interfaces (GUIs). It has been nicknamed "the Swiss Army chainsaw of scripting languages" because of its flexibility and power. In 1998, it

420-692: A large collection of language primitives . Perl favors language constructs that are concise and natural for humans to write, even where they complicate the Perl interpreter. Parable of the Pearl The Parable of the Pearl (also called the Pearl of Great Price ) is one of the parables of Jesus Christ . It appears in Matthew 13 and illustrates the great value of the Kingdom of Heaven . This

480-475: A new I/O implementation, added a new thread implementation, improved numeric accuracy, and added several new modules. As of 2013, this version was still the most popular Perl version and was used by Red Hat Linux 5, SUSE Linux 10, Solaris 10, HP-UX 11.31, and AIX 5. In 2004, work began on the "Synopses" – documents that originally summarized the Apocalypses, but which became the specification for

540-467: A prominence to pearls, as an article of commerce, which they had never had before, and have probably never had since. They, rather than emeralds and sapphires , were the typical instance of all costliest adornments. The story of Cleopatra and the fact that the opening of a new pearl market was one of the alleged motives which led the Emperor Claudius to invade Britain , are indications of

600-574: A rand() function using a consistent random number generator. Some observers credit the release of Perl 5.10 with the start of the Modern Perl movement. In particular, this phrase describes a style of development that embraces the use of the CPAN, takes advantage of recent developments in the language, and is rigorous about creating high quality code. While the book Modern Perl may be the most visible standard-bearer of this idea, other groups such as

660-580: A series of documents called "apocalypses" – numbered to correspond to chapters in Programming Perl . As of January 2011 , the developing specification of Perl 6 was encapsulated in design documents called Synopses – numbered to correspond to Apocalypses. Thesis work by Bradley M. Kuhn , overseen by Wall, considered the possible use of the Java virtual machine as a runtime for Perl. Kuhn's thesis showed this approach to be problematic. In 2001, it

SECTION 10

#1732801395222

720-660: A very inefficient approach. In many ways MEL complements the Maya API, with somewhat clear boundaries between allocated tasks. This makes MEL harder to learn and fully understand. The tools designed using MEL scripts generally come under the following categories: This is an example of a script which copies a selected object through its path: Maya also offers an expression language that is a super-set of MEL, and results in nodes that are executed as part of Maya's dependency graph . Expressions are developed with Maya's expression editor , and allow scripts to trigger while Maya evaluates

780-516: Is "Easy things should be easy and hard things should be possible". The design of Perl can be understood as a response to three broad trends in the computer industry: falling hardware costs, rising labor costs, and improvements in compiler technology. Many earlier computer languages, such as Fortran and C, aimed to make efficient use of expensive computer hardware. In contrast, Perl was designed so that computer programmers could write programs more quickly and easily. Perl has many features that ease

840-537: Is a visual pun on pearl onion . Larry Wall began work on Perl in 1987, while employed as a programmer at Unisys ; he released version 1.0 on December 18, 1987. Wall based early Perl on some methods existing languages used for text manipulation. Perl 2, released in June 1988, featured a better regular expression engine. Perl 3, released in October 1989, added support for binary data streams. Originally,

900-555: Is alone seen in his mind." Augustine : "Or, A man seeking goodly pearls has found one pearl of great price; that is, he who is seeking good men with whom he may live profitably, finds one alone, Christ Jesus, without sin; or, seeking precepts of life, by aid of which he may dwell righteously among men, finds love of his neighbour, in which one rule, the Apostle says, (Rom. 13:9.) are comprehended all things; or, seeking good thoughts, he finds that Word in which all things are contained, In

960-651: Is in the preaching of the Gospel; they who possess it know that they are rich, the unbelievers, not knowing of this treasure, know not of our wealth. Jerome : "By the goodly pearls may be understood the Law and the Prophets. Hear then Marcion and Manichæus; the good pearls are the Law and the Prophets. One pearl, the most precious of all, is the knowledge of the Saviour and the sacrament of His passion and resurrection, which when

1020-740: Is problematic as neither the Christian church, nor Christianity, existed until after Jesus' death, while Jesus himself was a Galilean Jew of Nazareth, which we know as he was baptized by John the Baptist, according to the bible. This interpretation would give the parable a similar theme to that of the Parable of the Lost Sheep , the Lost Coin , and the Prodigal Son . Pope Pius XII used

1080-559: Is referenced in Nathaniel Hawthorne 's novel The Scarlet Letter in Chapter 6: "But she named the infant 'Pearl', as being of great price – purchased with all she had,– her mother's only treasure!" George Herbert 's "The Pearl" is a reflection on the parable and the hefty price required of the speaker to follow God. The epigraph cites Matthew 13 directly. Pearl is a late Middle English poem often attributed to

1140-609: Is the penultimate parable in Matthew 13, coming just before the Parable of the Dragnet . It immediately follows the Parable of the Hidden Treasure , which has a similar theme. It does not appear in the other synoptic gospels , but a version of this parable does appear in the non-canonical Gospel of Thomas , Saying 76. The parable has been depicted by artists such as Domenico Fetti . The parable reads as follows: Again,

1200-428: Is the possession of ourselves, who are not free to possess it unless we despise all things that can be possessed in this world. For having sold our possessions, we receive no other return greater than ourselves, (for while we were involved in such things we were not our own,) that we may again give ourselves for that pearl, not because we are of equal value to that, but because we cannot give anything more." A version of

1260-557: The Wicked Wench/Black Pearl . Of all the "Bible stuff" Robby Greene told him, the first and only Biblical story Jack liked was the parable of a pearl of great price. Jack eventually realized his ship, the Wicked Wench , was like his pearl of great price, so when Davy Jones raised his beloved ship from the bottom of the sea, now half burned and with her hull and masts all charred, Jack renamed his new pirate ship

SECTION 20

#1732801395222

1320-553: The Comprehensive Perl Archive Network (CPAN) was established as a repository for the Perl language and Perl modules ; as of December 2022 , it carries over 211,850 modules in 43,865 distributions, written by more than 14,324 authors, and is mirrored worldwide at more than 245 locations. Perl 5.004 was released on May 15, 1997, and included, among other things, the UNIVERSAL package, giving Perl

1380-639: The Gawain poet by scholars. The narrator mourns the loss of his daughter, called Pearl. Pearl presents her father with a vision of the New Jerusalem . By the end of the poem, Pearl reveals that she wears the pearl from Christ's parable around her neck and urges her father to keep faith. In 2011, Ann C. Crispin wrote a novel titled Pirates of the Caribbean: The Price of Freedom , which focuses on how Jack Sparrow becomes captain of

1440-604: The Libera Chat #raku IRC channel. Many functional programming influences were absorbed by the Perl 6 design team. In 2012, Perl 6 development was centered primarily on two compilers: In 2013, MoarVM ("Metamodel On A Runtime"), a C language-based virtual machine designed primarily for Rakudo was announced. In October 2019, Perl 6 was renamed to Raku. As of 2017 only the Rakudo implementation and MoarVM are under active development, and other virtual machines, such as

1500-471: The regex engine, new hooks into the backend through the B::* modules, the qr// regex quote operator, a large selection of other new core modules, and added support for several more operating systems, including BeOS . Perl 5.6 was released on March 22, 2000. Major changes included 64-bit support, Unicode string representation, support for files over 2 GiB, and the "our" keyword. When developing Perl 5.6,

1560-560: The yada yada operator (intended to mark placeholder code that is not yet implemented), implicit strictures, full Y2038 compliance, regex conversion overloading, DTrace support, and Unicode 5.2. On May 14, 2011, Perl 5.14 was released with JSON support built-in. On May 20, 2012, Perl 5.16 was released. Notable new features include the ability to specify a given version of Perl that one wishes to emulate, allowing users to upgrade their version of Perl, but still run old scripts that would normally be incompatible. Perl 5.16 also updates

1620-454: The "Apocalypses" for Perl 6, a series of documents meant to summarize the change requests and present the design of the next generation of Perl. They were presented as a digest of the RFCs, rather than a formal document. At this time, Perl 6 existed only as a description of a language. Perl 5.8 was first released on July 18, 2002, and further 5.X versions have been released approximately yearly since then. Perl 5.8 improved Unicode support, added

1680-436: The "a" from the name. The name is occasionally expanded as a backronym : Practical Extraction and Report Language and Wall's own Pathologically Eclectic Rubbish Lister , which is in the manual page for perl. Programming Perl , published by O'Reilly Media , features a picture of a dromedary camel on the cover and is commonly called the "Camel Book". This image has become an unofficial symbol of Perl. O'Reilly owns

1740-690: The Enlightened Perl Organization have taken up the cause. In late 2012 and 2013, several projects for alternative implementations for Perl 5 started: Perl5 in Perl6 by the Rakudo Perl team, moe by Stevan Little and friends, p2 by the Perl11 team under Reini Urban, gperl by goccy, and rperl, a Kickstarter project led by Will Braswell and affiliated with the Perl11 project. At the 2000 Perl Conference , Jon Orwant made

1800-674: The Java Virtual Machine and JavaScript , are supported. In June 2020, Perl 7 was announced as the successor to Perl 5. Perl 7 was to initially be based on Perl 5.32 with a release expected in first half of 2021, and release candidates sooner. This plan was revised in May 2021, without any release timeframe or version of Perl 5 for use as a baseline specified. When Perl 7 would be released, Perl 5 would have gone into long term maintenance. Supported Perl 5 versions however would continue to get important security and bug fixes. Perl 7

1860-498: The Perl 6 language. In February 2005, Audrey Tang began work on Pugs , a Perl 6 interpreter written in Haskell . This was the first concerted effort toward making Perl 6 a reality. This effort stalled in 2006. The Perl On New Internal Engine (PONIE) project existed from 2003 until 2006. It was to be a bridge between Perl 5 and 6, and an effort to rewrite the Perl 5 interpreter to run on the Perl 6 Parrot virtual machine . The goal

Maya Embedded Language - Misplaced Pages Continue

1920-629: The Perl Steering Committee canceled it to avoid issues with backward compatibility for scripts that were not written to the pragmas and modules that would become the default in Perl 7. Perl 7 will only come out when the developers add enough features to warrant a major release upgrade. According to Wall, Perl has two slogans. The first is "There's more than one way to do it," commonly known as TMTOWTDI, (pronounced Tim Toady ). As proponents of this motto argue, this philosophy makes it easy to write concise statements. The second slogan

1980-561: The Savior supreme in your love? O consider it well, ere you answer, As you hope for a welcome above. Have you given up all for this Treasure? Have you counted past gains as but loss? Has your trust in yourself and your merits Come to naught before Christ and His cross? A less common interpretation of the parable is that the merchant represents Jesus , and the pearl represents the Christian Church , though that definition

2040-484: The beginning was the Word. (John 1:1.) which is lustrous with the light of truth, stedfast with the strength of eternity, and throughout like to itself with the beauty of divinity, and when we have penetrated the shell of the flesh, will be confessed as God. But whichever of these three it may be, or if there be anything else that can occur to us, that can be signified under the figure of the one precious pearl, its preciousness

2100-410: The core to support Unicode 6.1. On May 18, 2013, Perl 5.18 was released. Notable new features include the new dtrace hooks, lexical subs, more CORE:: subs, overhaul of the hash for security reasons, support for Unicode 6.2. On May 27, 2014, Perl 5.20 was released. Notable new features include subroutine signatures, hash slices/new slice syntax, postfix dereferencing (experimental), Unicode 6.3, and

2160-495: The decision was made to switch the versioning scheme to one more similar to other open source projects; after 5.005_63, the next version became 5.5.640, with plans for development versions to have odd numbers and stable versions to have even numbers. In 2000, Wall put forth a call for suggestions for a new version of Perl from the community. The process resulted in 361 RFC ( Request for Comments ) documents that were to be used in guiding development of Perl 6. In 2001, work began on

2220-399: The development process of Perl 5 occurred with Perl 5.11; the development community has switched to a monthly release cycle of development releases, with a yearly schedule of stable releases. By that plan, bugfix point releases will follow the stable releases every three months. On April 12, 2010, Perl 5.12.0 was released. Notable core enhancements include new package NAME VERSION syntax,

2280-505: The image as a trademark but licenses it for non-commercial use, requiring only an acknowledgement and a link to www.perl.com. Licensing for commercial use is decided on a case-by-case basis. O'Reilly also provides "Programming Republic of Perl" logos for non-commercial sites and "Powered by Perl" buttons for any site that uses Perl. The Perl Foundation owns an alternative symbol, an onion, which it licenses to its subsidiaries, Perl Mongers , PerlMonks , Perl.org, and others. The symbol

2340-580: The kingdom of heaven is like unto a merchant man, seeking goodly pearls: Who, when he had found one pearl of great price, went and sold all that he had, and bought it. This parable is generally interpreted as illustrating the great value of the Kingdom of Heaven. Theologian E. H. Plumptre , in Anglican bishop Charles Ellicott 's Commentary , notes that: "the caprices of luxury in the Roman empire had given

2400-511: The merchantman has found, like Paul the Apostle, he straightway despises all the mysteries of the Law and the Prophets and the old observances in which he had lived blameless, counting them as dung that he may win Christ. (Phil. 3:8.) Not that the finding of a new pearl is the condemnation of the old pearls, but that in comparison of that, all other pearls are worthless." Gregory the Great : "Or by

2460-491: The notion of "diligent seeking". The valuable pearl is the "deal of a lifetime" for the merchant in the story. However, those who do not believe in the kingdom of heaven enough to stake their whole future on it are unworthy of the kingdom. This interpretation of the parable is the inspiration for a number of hymns, including the anonymous Swedish hymn Den Kostliga Pärlan ( O That Pearl of Great Price! ), which begins: O that Pearl of great price! have you found it? Is

Maya Embedded Language - Misplaced Pages Continue

2520-411: The only documentation for Perl was a single lengthy man page . In 1991, Programming Perl , known to many Perl programmers as the "Camel Book" because of its cover, was published and became the de facto reference for the language. At the same time, the Perl version number was bumped to 4, not to mark a major change in the language but to identify the version that was well documented by the book. Perl 4

2580-482: The parable also appears in the Gnostic Gospel of Thomas (Saying 76): Jesus said, "The Father's kingdom is like a merchant who had a supply of merchandise and found a pearl. That merchant was prudent; he sold the merchandise and bought the single pearl for himself. So also with you, seek his treasure that is unfailing, that is enduring, where no moth comes to eat and no worm destroys." This work's version of

2640-463: The parable of the Hidden Treasure appears later (Saying 109), rather than immediately preceding, as in Matthew. However, the mention of a treasure in Saying 76 may reflect a source for the Gospel of Thomas in which the parables were adjacent, so that the original pair of parables has been "broken apart, placed in separate contexts, and expanded in a manner characteristic of folklore." In Gnostic thought

2700-638: The pearl may represent Christ or the true self. In the Gnostic Acts of Peter and the Twelve , found with the Gospel of Thomas in the Nag Hammadi library , the travelling pearl merchant Lithargoel is eventually revealed to be Jesus. There have been several depictions of the New Testament parable in art, including works by Domenico Fetti , John Everett Millais and Jan Luyken . The parable

2760-417: The pearl of price is to be understood the sweetness of the heavenly kingdom, which, he that hath found it, selleth all and buyeth. For he that, as far as is permitted, has had perfect knowledge of the sweetness of the heavenly life, readily leaves all things that he has loved on earth; all that once pleased him among earthly possessions now appears to have lost its beauty, for the splendour of that precious pearl

2820-442: The pearl. And in preaching, two things are required, namely, to be detached from the business of this life, and to be watchful, which are denoted by this merchantman. Truth moreover is one, and not manifold, and for this reason it is one pearl that is said to be found. And as one who is possessed of a pearl, himself indeed knows of his wealth, but is not known to others, ofttimes concealing it in his hand because of its small bulk, so it

2880-481: The phrase to describe virginity . " Pearl of Great Price " is the title of a selection of Mormon writings, one of the standard works of the Church of Jesus Christ of Latter-day Saints and some other Latter Day Saint denominations. Chrysostom : "The Gospel preaching not only offers manifold gain as a treasure, but is precious as a pearl; wherefore after the parable concerning the treasure, He gives that concerning

2940-400: The scene file at each change in time, to simulate complex behaviors or perform other useful tasks. Perl Perl is a high-level , general-purpose , interpreted , dynamic programming language . Though Perl is not officially an acronym, there are various backronyms in use, including "Practical Extraction and Reporting Language". Perl was developed by Larry Wall in 1987 as

3000-655: The task of the programmer at the expense of greater CPU and memory requirements. These include automatic memory management; dynamic typing ; strings, lists, and hashes; regular expressions; introspection ; and an eval() function. Perl follows the theory of "no built-in limits", an idea similar to the Zero One Infinity rule. Wall was trained as a linguist, and the design of Perl is very much informed by linguistic principles. Examples include Huffman coding (common constructions should be short), good end-weighting (the important information should come first), and

3060-422: The value that was then set on the 'goodly pearls' of the parable." Theologian John Nolland likewise notes that pearls at that time had a greater value than they do today, and it thus has a similar theme to its partner, the parable of the hidden treasure. Nolland comments that it shares with that parable the notions of "good fortune and demanding action in attaining the kingdom of heaven", but adds in this case

SECTION 50

#1732801395222

3120-445: Was added to Maya as an alternative to MEL in Maya 8.5. Still MEL offers some advantages to Python: MEL is often criticized for its lack of programming features, and object orientation. In practice, however, MEL is used as a metaprogramming language where MEL just instructs Maya's node architecture to solve the problem. Since nodes form the actual computational core of Maya using a more robust readily apparent programming method would be

3180-526: Was also referred to as the " duct tape that holds the Internet together", in reference to both its ubiquitous use as a glue language and its perceived inelegance. Perl was originally named "Pearl". Wall wanted to give the language a short name with positive connotations. It is also a Christian reference to the Parable of the Pearl from the Gospel of Matthew. However, Wall discovered the existing PEARL language before Perl's official release and dropped

3240-466: Was announced on 24 June 2020 at "The Perl Conference in the Cloud" as the successor to Perl 5. Based on Perl 5.32, Perl 7 was planned to be backward compatible with modern Perl 5 code; Perl 5 code, without boilerplate (pragma) header needs adding use compat::perl5; to stay compatible, but modern code can drop some of the boilerplate. The plan to go to Perl 7 brought up more discussion, however, and

3300-449: Was changed to Raku . Both languages continue to be developed independently by different development teams which liberally borrow ideas from each other. Perl borrows features from other programming languages including C , sh , AWK , and sed . It provides text processing facilities without the arbitrary data-length limits of many contemporary Unix command line tools . Perl is a highly expressive programming language: source code for

3360-508: Was decided that Perl 6 would run on a cross-language virtual machine called Parrot . In 2005, Audrey Tang created the Pugs project, an implementation of Perl 6 in Haskell . This acted as, and continues to act as, a test platform for the Perl 6 language (separate from the development of the actual implementation), allowing the language designers to explore. The Pugs project spawned an active Perl/Haskell cross-language community centered around

3420-496: Was released in March 1991. Perl 4 went through a series of maintenance releases , culminating in Perl 4.036 in 1993, whereupon Wall abandoned Perl 4 to begin work on Perl 5. Initial design of Perl 5 continued into 1994. The perl5-porters mailing list was established in May 1994 to coordinate work on porting Perl 5 to different platforms. It remains the primary forum for development, maintenance, and porting of Perl 5. Perl 5.000

3480-418: Was released on March 13, 1995. Perl 5.002 was released on February 29, 1996 with the new prototypes feature. This allowed module authors to make subroutines that behaved like Perl builtins . Perl 5.003 was released June 25, 1996, as a security release. One of the most important events in Perl 5 history took place outside of the language proper and was a consequence of its module support. On October 26, 1995,

3540-503: Was released on October 17, 1994. It was a nearly complete rewrite of the interpreter , and it added many new features to the language, including objects , references , lexical (my) variables , and modules . Importantly, modules provided a mechanism for extending the language without modifying the interpreter. This allowed the core interpreter to stabilize, even as it enabled ordinary Perl programmers to add new language features. Perl 5 has been in active development since then. Perl 5.001

3600-466: Was to ensure the future of the millions of lines of Perl 5 code at thousands of companies around the world. The PONIE project ended in 2006 and is no longer being actively developed. Some of the improvements made to the Perl 5 interpreter as part of PONIE were folded into that project. On December 18, 2007, the 20th anniversary of Perl 1.0, Perl 5.10.0 was released. Perl 5.10.0 included notable new features, which brought it closer to Perl 6. These included

#221778