Michael FIG | 26 Apr 00:21

Slink 0.3 [was: static compilation]

Hi,

Nathan Cain <nate@...> writes:

> I was hoping to toy with this some, and start in on adapting an arm
> backend...

Cool!  I'd be more than happy to help with this process, if you need
any assistance at all.  I think most of it should be relatively
straightforward by staring at the patch to CodeGenerator-i386.st.

> unfortunately, the patch does not want to apply, as it seems to
> expect a different jolt2/boot.k then what is in svn r407.  Perhaps I
> need another of your patches as well, beyond just jolt2-fixes?
> Could you tell me which?

Actually, I just described the patch requirements really badly.  The
idea is:

$ svn checkout -r407 ...
$ cd idst
$ patch -p0 < ../jolt2-fixes.patch
$ patch -p0 < ../jolt2-slink.patch

I've attached new versions of these patches that fix a few issues
(forgot the '{...} grammar syntax in jolt2-fixes.patch, mangle Jolt
names that can't be directly expressed in the output) and demonstrates
the use of (syntax ...) in function/examples2/slink/main.k.

Good luck,

-- 
Michael FIG <michael@...> //\
   http://michael.fig.org/    \//

Attachment (jolt2-fixes.patch): text/x-diff, 13 KiB
Attachment (jolt2-slink.patch): text/x-diff, 40 KiB
Hi,

Nathan Cain <nate@...> writes:

> I was hoping to toy with this some, and start in on adapting an arm
> backend...

Cool!  I'd be more than happy to help with this process, if you need
any assistance at all.  I think most of it should be relatively
straightforward by staring at the patch to CodeGenerator-i386.st.

> unfortunately, the patch does not want to apply, as it seems to
> expect a different jolt2/boot.k then what is in svn r407.  Perhaps I
> need another of your patches as well, beyond just jolt2-fixes?
> Could you tell me which?

Actually, I just described the patch requirements really badly.  The
idea is:

$ svn checkout -r407 ...
$ cd idst
$ patch -p0 < ../jolt2-fixes.patch
$ patch -p0 < ../jolt2-slink.patch

I've attached new versions of these patches that fix a few issues
(forgot the '{...} grammar syntax in jolt2-fixes.patch, mangle Jolt
names that can't be directly expressed in the output) and demonstrates
the use of (syntax ...) in function/examples2/slink/main.k.

Good luck,

--

-- 
Michael FIG <michael@...> //\
   http://michael.fig.org/    \//


Gmane