<div dir="ltr">Ben,<div><br></div><div>How to solve one and the same problem in a dynamic prototype class language and in a compiled single-inheritance class language is a general programming question.</div><div><br></div><div>Your problem description is too unspecific to give any relevant answer.</div><div><br></div><div>Adam</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-21 20:39 GMT+08:00 ben yakawp <span dir="ltr"><<a href="mailto:ben.lists@yakawp.com" target="_blank">ben.lists@yakawp.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi<br>
I have a the following problem: Initially I was looking for a simple way<br>
to write code on several platforms with scheme as the "reference<br>
platform". This is more difficult then I thought because most of the<br>
target languages have libraries that are build with an OO model. That<br>
leaks into the platform neutral source code, so that you write scheme<br>
but with OO in mind. Now I see a next problem, that of Javascript making<br>
extensive use of "prototyping", again a specific model that has to be<br>
ported to other languages.<br>
<br>
So my question is, how would you express prototyping in a platform<br>
neutral way, so that you can (hypothecally) use the source code also for<br>
target languages that don't support prototyping.<br>
<br>
Hopefully I don't make this much more complicated than it is.<br>
Ben<br>
_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" rel="noreferrer" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</blockquote></div><br></div>