(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-5) was last changed on 20-Sep-2008 19:07 by spir  

This page was created on 20-Sep-2008 17:43 by spir

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
//syntax customization : an alternative to markup standard ?//
//this a first draft of a not-so-deeply-explored idea ;-)//
//feel free to correct & clarify my weird english ;-)//
At line 4 changed one line
this a first draft of a not-so-deeply-explored idea ;-)
markup customization : an alternative to syntax standard ?
or
syntax standard versus file format
At line 9 changed one line
We are used to contexts where the user interface is disconnected from the 'real' document content through personalisation. For instance, an editor allows to set the indent width, whatever you or the author typed, and the save format for indentation (tab or n spaces), whatever you typed. This creates a kind of disconnection of foreground & background, for display as well as for input. One can set what to type (e.g. TAB) for a specific token (indent) and how a token should be displayed.
We are used to contexts where the user interface is disconnected from the 'real' document through personalisation. For instance, an editor allows to set the indent width, whatever you or the author typed, and the save format for indentation (tab or n spaces), whatever you typed. This creates a kind of disconnection of foreground & background, for display as well as for input. One can set what to type (e.g. TAB) for a specific token and/or meaning (indent) ; and conversely how a specific token should be displayed.
At line 11 changed one line
This principle may be extended to allow a real customization of any computer language. For instance, I would set that an assignment should be written ':' rather than '='. This is what I see and what I type in the editor. Still the assignment is saved in file as "=" or any other standard token. Note that this method allows for keyword changes as well, including an internationalisation of the whole programming language.
This principle may be extended to allow a real customization of any computer language. For instance, I would set that an assignment should be written ':' rather than '='. This is what I would see and type in the editor. Still the assignment is saved in file as "=" or any other standard token. Note that this method allows for keyword changes as well, including an internationalisation of the whole programming language. I also would change "print" (!) to "write", "écrire", "escriure" or "schreiben".
At line 13 changed one line
Most important, as the saved version is standard, any user or programmer who opens a file written by someone else would read it either according to a standard form, or to his/her own customized format -- not according to the author's one. The editor simply replaces standard tokens by the ones set in a local parameter file.
Most important, as the saved version is standard, any user or programmer who opens a file written by someone else would read it as expected : that is either according to the standard norm, or to his/her own customized one -- not according to the author's preferences, whatever they may be. The editor simply replaces standard tokens of the file by tags, signs or keywords defined in a local parameter file. The editor simply search-and-replaces standard tokens by the ones set in a local parameter file.
Only when the syntax, not only the lexicon, is changed, then the problem becomes much more difficult and requires real parsing. Or do I misunderstand the point ?
Version Date Modified Size Author Changes ... Change note
5 20-Sep-2008 19:07 7.604 kB spir to previous moved STIF link
4 20-Sep-2008 19:02 7.52 kB spir to previous | to last
3 20-Sep-2008 18:33 7.406 kB spir to previous | to last re reading in prgress
2 20-Sep-2008 18:14 7.215 kB spir to previous | to last
1 20-Sep-2008 17:43 6.666 kB spir to last first draft
« This page (revision-5) was last changed on 20-Sep-2008 19:07 by spir