|
From: <fra...@us...> - 2009-07-13 06:07:36
|
Revision: 1755
http://javapathfinder.svn.sourceforge.net/javapathfinder/?rev=1755&view=rev
Author: frankrimlinger
Date: 2009-07-13 06:07:35 +0000 (Mon, 13 Jul 2009)
Log Message:
-----------
Created native abstraction for String_MangoFormal.toCharArray(). This is a little tricky because it involved new semantics for the heap. First, a "smart" reference
( toArray "@#0" '@this '@inputHeap )
which bundles the newly created reference @#0 with the information required to extract its contents, in the event it ever became defined (from the past, of course) and it is ever accessed (in the future).
THe other thing is
(pushH '@genericLocation '@genericItem '@inputHeap )
These generic parameters depend on the smart reference, and represent data that is potentially on the heap that we know something about (where it came from, what its type is.). This has implications for garbage collection that will unfold as they may.
The rest of the native String methods should be EZ.
Modified Paths:
--------------
branches/mango/Mango/mangoUserHome/frank/rules/rulebase.zip
branches/mango/Mango/mangoUserHome/system/System/mango/cheat_sheet.txt
Added Paths:
-----------
branches/mango/Mango/config docs/
branches/mango/Mango/config docs/branding.tiff
branches/mango/Mango/config docs/launching page.tiff
branches/mango/Mango/config docs/splash page.tiff
branches/mango/Mango/mangoUserHome/frank/rules/backupString.zip
branches/mango/Mango/mangoUserHome/frank/sessions/java/lang/String_MangoFormal/toString_MangoFormal()Ljava.lang.String_MangoFormal;/
branches/mango/Mango/mangoUserHome/frank/sessions/java/lang/String_MangoFormal/toString_MangoFormal()Ljava.lang.String_MangoFormal;/case.zip
branches/mango/Mango/mangoUserHome/system/System/mango/lang/toCharArray Worksheet (Autosaved)
branches/mango/Mango/mangoUserHome/system/System/mango/lang/toCharArray Worksheet.txt
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|