People,
OK, I have got a feeling now that a .Net port of Icon would be at
least helpful for some (un)Icon users (me including, as I would like to
get some experience with .Net), that would like to avoid using M$
languages such as C# and tooling such as Visual Studios, and program
using a sane language while still retaining the possiblity to
interface with other libraries and frameworks. For sure, you don't
want to have multiple VMs in your systems...
A quick glance in the "Implementation of the Icon Programming
Language" revealed that Icon bytecode is rather high-level and the
translation step is not that complicated. The .Net bytecode, being
lower-level, would require partial inclusion of the icode interpreter
itself in the Icon (or its ucode) to .Net bytecode translator.
However, before exploring Icon.Net, I would like to acquire a
feeling of how complex it is to compile Icon code into icode or .Net
bytecode. I recall one of the suggested projects in the Griswold
book was to support creation of Icon procedures at run-time. Has
anyone implemented this? It seems that would require linking the
icont into the iconx, and allowing icont code to create (and garbage
collect) procedures dynamically in the iconx. Of course it would
automatically mean full lambda-calculus in Icon;-) Looks doable,
but obviously you guys have more experience with this....
An alternative would be to create an Icon translator from scratch,
implementing it in Icon itself and then exporting the translator
through the IPL. For that I could probably re-use the Unicon
preprocessor code (with {u,i}code generation instead of plain Icon)
And experiences here?
Once that works, I might endeavor into .Net...
Thanks for feedback,
Pjotr Kourzanov
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group