Gavin Romig-Koch | 2 Apr 19:14
Favicon

Re: Jolt, statics?

Michael Haupt wrote:
> Hi Gavin,
>
> Am 01.04.2008 um 17:30 schrieb Gavin Romig-Koch:
>> No problem.  In this case the answer is the same: it's not built in, 
>> but you can build it.
>
> thanks. You seem to have a thorough impression of how such an 
> implementation might look ("no problem") - could you please give me 
> some more hints? :-)
Sorry, no.  I meant my  "no problem" was in response to  your  " sorry 
for sending two mails". 

How to implement this in Jolt would depend on what you expected to be 
able to do with "here". 

You gave the example:

    (set here@ 100)

which would "write to memory in a place very close to the code 
corresponding to the set "statement".", but I don't understand what you 
mean by this.   Is it your intent that this would give you the ability 
to change the machine code generated by Jolt?  Or is this meant to be a 
way to reserve and refer to memory within the machine code for use as 
variables?   Or something else entirely?

Perhaps a larger example, or  a reference to a similar feature in 
another language, or just an explanation of the larger problem you are 
trying to solve?

                                                                                                                             
-gavin...


Gmane