<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nars2000.org/index.php?action=history&amp;feed=atom&amp;title=User%3AFran%C3%A7ois-Dominique_Armingaud</id>
	<title>User:François-Dominique Armingaud - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nars2000.org/index.php?action=history&amp;feed=atom&amp;title=User%3AFran%C3%A7ois-Dominique_Armingaud"/>
	<link rel="alternate" type="text/html" href="https://wiki.nars2000.org/index.php?title=User:Fran%C3%A7ois-Dominique_Armingaud&amp;action=history"/>
	<updated>2026-06-10T12:24:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.nars2000.org/index.php?title=User:Fran%C3%A7ois-Dominique_Armingaud&amp;diff=2163&amp;oldid=prev</id>
		<title>François-Dominique Armingaud: 1) How to type a &quot;[&quot; or &quot;]&quot; on a Fench keyboard ? 2) Question about possible associative indexing (hashs) in APL like in Perl, but with no { } needed.</title>
		<link rel="alternate" type="text/html" href="https://wiki.nars2000.org/index.php?title=User:Fran%C3%A7ois-Dominique_Armingaud&amp;diff=2163&amp;oldid=prev"/>
		<updated>2013-11-24T21:34:43Z</updated>

		<summary type="html">&lt;p&gt;1) How to type a &amp;quot;[&amp;quot; or &amp;quot;]&amp;quot; on a Fench keyboard ? 2) Question about possible associative indexing (hashs) in APL like in Perl, but with no { } needed.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:34, 24 November 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l31&quot;&gt;Line 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mais en ce cas, indépendamment de la lisibilité plus faible, le temps d&amp;#039;accès n&amp;#039;a plus le moindre rapport avec un accès direct de type &amp;quot;hash&amp;quot; en [[Perl (langage)|Perl]] ou PHP, surtout si s&amp;#039;il y a des centaines de noms.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mais en ce cas, indépendamment de la lisibilité plus faible, le temps d&amp;#039;accès n&amp;#039;a plus le moindre rapport avec un accès direct de type &amp;quot;hash&amp;quot; en [[Perl (langage)|Perl]] ou PHP, surtout si s&amp;#039;il y a des centaines de noms.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Non seulement la lisibilité des programmes n&#039;y gagne rien, mais leur facilité de maintenance s&#039;effondre compte tenu des variables &#039;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;surajout&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Non seulement la lisibilité des programmes n&#039;y gagne rien, mais leur facilité de maintenance s&#039;effondre compte tenu des variables &#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;surajoutées&#039;&#039;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>François-Dominique Armingaud</name></author>
	</entry>
	<entry>
		<id>https://wiki.nars2000.org/index.php?title=User:Fran%C3%A7ois-Dominique_Armingaud&amp;diff=2161&amp;oldid=prev</id>
		<title>WikiSysop: Creating user page for new user.</title>
		<link rel="alternate" type="text/html" href="https://wiki.nars2000.org/index.php?title=User:Fran%C3%A7ois-Dominique_Armingaud&amp;diff=2161&amp;oldid=prev"/>
		<updated>2013-11-24T16:31:03Z</updated>

		<summary type="html">&lt;p&gt;Creating user page for new user.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;APL : officially &amp;quot;A Programming Language&amp;quot;, colloquially, &amp;quot;Array Processing Language&amp;quot; (though Octave and GNU R are too)&lt;br /&gt;
NARS&lt;br /&gt;
&lt;br /&gt;
NARS : Nested Arrays Research System&lt;br /&gt;
&lt;br /&gt;
I switched away from APL because every application I wrote needed a lot of associative access, that APL did not allow very gracefully, so I went to Perl. Also used PHP 5 and Regina REXX and I came here to see whether NARS had that possibility. However my first worry is how to make [ and ] appear with the French Keyboard. Normally [ is AltGr-5 and ] is AltGr-) : none of them seem to generate anything, unless I goofed somewhere.&lt;br /&gt;
&lt;br /&gt;
Here is what is said on the French language Wikipedia about APL :&lt;br /&gt;
&lt;br /&gt;
&amp;quot;APL n’a jamais officiellement connu les [[table associative|tables associatives]], indexant un tableau avec autre chose que des valeurs entières. On ne peut donc pas écrire :&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;CAPITALE[⊂&amp;#039;FRANCE&amp;#039;]←⊂&amp;#039;PARIS&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ou, pour rester dans le vectoriel,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;CAPITALE[&amp;#039;FRANCE&amp;#039; &amp;#039;ESPAGNE&amp;#039; &amp;#039;ITALIE&amp;#039;]←&amp;#039;PARIS&amp;#039; &amp;#039;MADRID&amp;#039; &amp;#039;ROME&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ce qui est regrettable, car :&lt;br /&gt;
&lt;br /&gt;
# une telle extension ne demanderait que très peu de modification de syntaxe, et n&amp;#039;en demanderait &amp;#039;&amp;#039;aucune&amp;#039;&amp;#039; des programmes existants&lt;br /&gt;
# les langages modernes permettent l&amp;#039;indexation par des chaînes de caractères (soit l&amp;#039;indexation des tableaux comme en [[PHP]] qui autorise à écrire &amp;#039;&amp;#039;$capitale[&amp;#039;France&amp;#039;]=&amp;#039;Paris&amp;#039;;&amp;#039;&amp;#039;, soit via des objets voisins comme les &amp;#039;&amp;#039;[[table de hachage|tables de hachage]]&amp;#039;&amp;#039; en [[Perl (langage)|Perl]]&amp;lt;ref&amp;gt;&amp;#039;&amp;#039;$capitale{&amp;#039;France&amp;#039;}=&amp;#039;Paris&amp;#039;;&amp;#039;&amp;#039;&amp;lt;/ref&amp;gt;).&lt;br /&gt;
# rares sont les applications où il ne faille pas gérer des accès par symboles plutôt que par numéros. Si APL ne le permet pas de façon immédiate, l’utilisateur se tourne naturellement vers d’autres langages répondant mieux à ses besoins.&lt;br /&gt;
&lt;br /&gt;
Il est peu ergonomique de contourner cette lacune au prix de variables supplémentaires, comme par exemple:&lt;br /&gt;
&amp;#039;&amp;#039;FRANCE←32&amp;#039;&amp;#039; (dès lors, &amp;#039;&amp;#039;CAPITALE[FRANCE]←⊂&amp;quot;PARIS&amp;quot;&amp;#039;&amp;#039;. Si le pays provient d&amp;#039;une saisie, l&amp;#039;indice peut être retrouvé par &amp;quot;execute&amp;quot; : &amp;#039;&amp;#039;⍎&amp;quot;FRANCE&amp;quot;&amp;#039;&amp;#039; qui rend 32, mais l&amp;#039;application perd en robustesse et on encombre inutilement la table des symboles (APL/X contourne la difficulté par des &amp;#039;&amp;#039;namespaces&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
Une autre manière est de définir un vecteur des noms de pays :&lt;br /&gt;
&amp;#039;&amp;#039;PAYS ←&amp;#039;BELGIQUE&amp;#039; &amp;#039;FRANCE&amp;#039; &amp;#039;&amp;#039;, l&amp;#039;instruction devenant alors :&lt;br /&gt;
&amp;#039;&amp;#039;CAPITALE[PAYS⍳⊂&amp;#039;FRANCE&amp;#039;]←⊂&amp;#039;PARIS&amp;#039; &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Mais en ce cas, indépendamment de la lisibilité plus faible, le temps d&amp;#039;accès n&amp;#039;a plus le moindre rapport avec un accès direct de type &amp;quot;hash&amp;quot; en [[Perl (langage)|Perl]] ou PHP, surtout si s&amp;#039;il y a des centaines de noms.&lt;br /&gt;
&lt;br /&gt;
Non seulement la lisibilité des programmes n&amp;#039;y gagne rien, mais leur facilité de maintenance s&amp;#039;effondre compte tenu des variables &amp;#039;&amp;#039;surajout&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
</feed>