Re: Guile Assembler

2015-06-23 Thread Panicz Maciej Godek
Hm. Where's the difference to Guile's define? And why do you have double parentheses in your example? Still a bit lost. hmm...do you read the pasted code in the repo? ;-) Not yet, I must admit. But nevermind, got it. It looks like a definition for a parametric func or for a

Re: Guile Assembler

2015-06-23 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Jun 23, 2015 at 02:28:41PM +0800, Nala Ginrut wrote: hi Panicz! On Mon, 2015-06-22 at 22:49 +0200, Panicz Maciej Godek wrote: My repo is available here: https://bitbucket.org/panicz/envy/src Thanks for the hint! There's tiny

Re: Guile Assembler

2015-06-23 Thread Nala Ginrut
On Tue, 2015-06-23 at 11:12 +0200, to...@tuxteam.de wrote: What does number/base do? Does it change the read syntax of numbers? I think it defines a function (number/base base) first, then use it as argument of the outer function... http://docs.racket-lang.org/reference/define.html -- t

Re: Guile Assembler

2015-06-23 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Jun 23, 2015 at 05:19:56PM +0800, Nala Ginrut wrote: On Tue, 2015-06-23 at 11:12 +0200, to...@tuxteam.de wrote: What does number/base do? Does it change the read syntax of numbers? I think it defines a function (number/base base)

Re: Guile Assembler

2015-06-23 Thread Nala Ginrut
On Tue, 2015-06-23 at 11:27 +0200, to...@tuxteam.de wrote: Hm. Where's the difference to Guile's define? And why do you have double parentheses in your example? Still a bit lost. hmm...do you read the pasted code in the repo? ;-) Anyway, it's not standard Scheme grammar, so that's why I

Re: Guile Assembler

2015-06-23 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Jun 23, 2015 at 05:30:42PM +0800, Nala Ginrut wrote: On Tue, 2015-06-23 at 11:27 +0200, to...@tuxteam.de wrote: Hm. Where's the difference to Guile's define? And why do you have double parentheses in your example? Still a bit lost.

Re: Guile Assembler

2015-06-23 Thread Nala Ginrut
hi Panicz! On Mon, 2015-06-22 at 22:49 +0200, Panicz Maciej Godek wrote: My repo is available here: https://bitbucket.org/panicz/envy/src Thanks for the hint! There's tiny problem IMO, (define ((number/base base) (l ...)) is not supported in Guile, but I do see something similar in Racket,