4 ms·
“Scripts are stored in a language-independent internal representation. A dialect defines a presentation for the internal language. Dialects contain lexing and p
by celoyd 16y ago
“Scripts are stored in a language-independent internal representation. A dialect defines a presentation for the internal language. Dialects contain lexing and parsing tables, and printing routines. A script can be presented using any dialect – so a script written using the English dialect can be viewed in Japanese. For complete localization, the application terminologies must also include entries for multiple languages. Apple developed dialects for Japanese and French. A “professional” dialect which resembled Java was created but not released.”
— http://userweb.cs.utexas.edu/~wcook/Drafts/2006/ashopl.pdf http://userweb.cs.utexas.edu/~wcook/Drafts/2006/ashopl.pdf . The example it gives for the “professional” dialect is “{ words | style == bold }.character[1]”, which as far as I know would have made it one of the first non-research languages to use pseudo–set-builder notation like that.