<div dir="ltr">Thank You so much for yours replies.<div><br></div><div>1. Very simple and promising. However an interesting feature of Haskell is its proximity to the natural language, especially from an educational point of view. Many important keywords (<span style="font-family:arial,sans-serif;font-size:13px">if then else, case of, type, do, where ...) aren't </span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">translatable in this approach.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">2. Very interesting. P</span><font face="arial, sans-serif">erhaps it would need a compiler, rather than a translation "</font><span style="font-family:arial,sans-serif">words </span><span style="font-family:arial,sans-serif">based"?</span></div>
<div><font face="arial, sans-serif">3. I followed this path with ghc, duplicating keywords to maintain compatibility with external modules. Many modules compiled, but not all due to words conflict.</font></div><div><font face="arial, sans-serif">4. I don't know how, any reference for Haskell?</font></div>
<div><br></div><div>A DSL choice allow to import external modules and isolate italian code. I was wondering if there is an approach that allow to utilize the code of ghc compiler for a DSL.</div><div><br></div><div>Many thanks for yours much appreciated help.</div>
<div>Rosario<br><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-22 18:56 GMT+01:00 Kim-Ee Yeoh <span dir="ltr"><<a href="mailto:ky3@atamo.com" target="_blank">ky3@atamo.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class=""><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 23, 2014 at 12:37 AM, Mateusz Kowalczyk <span dir="ltr"><<a href="mailto:fuuzetsu@fuuzetsu.co.uk" target="_blank">fuuzetsu@fuuzetsu.co.uk</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="overflow:hidden">If you really want to go with ‘translate everything’ approach, what are<br>


you going to do about error messages? </div></blockquote></div><br></div></div><div class="gmail_extra">That's a good point. A fully language-native Haskell environment seems to be sought-after here, and that's a major undertaking.<br>


</div><div class="gmail_extra"><br></div><div class="gmail_extra">TH, if anything, could blow up with even more error messages when fed slightly off syntax. These are primary schoolchildren, yes?<br></div><div class="gmail_extra">


<br></div><div class="gmail_extra">To summarize, the choices available include:<br><br></div><div class="gmail_extra">1. nativize Prelude, let children grapple with English keywords<br><br></div><div class="gmail_extra">

2. use sed scripts or some editor feature to translate italian .ihs to .hs before feeding into interpreter/compiler.<br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">3. nativize Prelude & keywords by recompiling with necessary tweaks to the keyword table. But errors still in English tho.<br><br></div><div class="gmail_extra">


4. full i18n<br><br></div><div class="gmail_extra">If GHC isn't a must, option 3 just might be a 10-minute job for hugs.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra">
<br></div><div><div><br clear="all"><div class="gmail_extra">
<div>
-- Kim-Ee</div>
</div></div></div></font></span></div>
<br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>