Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Scheme > Re: Learning pu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 18 of 32 Topic 4613 of 4716
Post > Topic >>

Re: Learning purposes Scheme interpreterer with sup****t for

by Slobodan Blazeski <slobodan.blazeski@[EMAIL PROTECTED] > Jul 21, 2008 at 07:48 AM

Here's an explanation of what I'm doing and what I need.
I'm working on implementing interpreter for my  hybrid language.  The
best way to think of it is a lisp syntax but with:
- brackets [] instead of ()

- built in array processing capabilities - you can do staff  like in
apl family languages
[+ 2 '[1 2 3]]
=>[3 4 5]

- rules database with unification like in prolog (sort of)
[is fact [1] 1]
=>fact
[is fact [n] [* n [fact [1- n]]]
fact

-tacit programming
[/ + count] // definition for average
[[/ + count] 4 10 1 ]
=> 5

-function manipulation
etc


The implementation language is c/c++ for the core,  extension will be
in edi itself. Something like s9fs http://www.t3x.org/bits/s9fes/
and
many bigger scheme impelmentations which implemnt part in c part in
scheme.
I want to keep the interpreter small and avoid external dependencies
as much as I can. I don't care about speed. Currently Cheney copying
gc will be used, later I'll probably add generational one.


My biggest issue is to remove the c call stack from the game. I want
to manipulate my own call stacks.Those call stack will be used to
implement continuations( continuation is a snapshot of the call stack
and the enviroment ,If I'm understanding the concept right). With
continuations I could implement fibers, generators, coroutines etc.

cheers
Bobi
 




 32 Posts in Topic:
Learning purposes Scheme interpreterer with support for
Slobodan Blazeski <slo  2008-07-18 00:21:27 
Re: Learning purposes Scheme interpreterer with support for co
pjb@[EMAIL PROTECTED] (P  2008-07-18 09:33:32 
Re: Learning purposes Scheme interpreterer with support for
Slobodan Blazeski <slo  2008-07-18 00:55:56 
Re: Learning purposes Scheme interpreterer with support for
Eli Barzilay <eli@[EMA  2008-07-18 01:02:04 
Re: Learning purposes Scheme interpreterer with support for con
pjb@[EMAIL PROTECTED] (P  2008-07-18 11:56:08 
Re: Learning purposes Scheme interpreterer with support for
Pascal Costanza <pc@[E  2008-07-18 22:27:48 
Re: Learning purposes Scheme interpreterer with support for
Slobodan Blazeski <slo  2008-07-18 23:24:28 
Re: Learning purposes Scheme interpreterer with support for con
pjb@[EMAIL PROTECTED] (P  2008-07-19 09:36:42 
Re: Learning purposes Scheme interpreterer with support for c
Pascal Costanza <pc@[E  2008-07-19 12:13:20 
Re: Learning purposes Scheme interpreterer with support for
leppie <xacc.ide@[EMAI  2008-07-19 01:01:26 
Re: Learning purposes Scheme interpreterer with support for
Slobodan Blazeski <slo  2008-07-19 05:43:22 
Re: Learning purposes Scheme interpreterer with support for con
pjb@[EMAIL PROTECTED] (P  2008-07-19 18:59:15 
Re: Learning purposes Scheme interpreterer with support for
Slobodan Blazeski <slo  2008-07-19 06:00:12 
Re: Learning purposes Scheme interpreterer with support for
Slobodan Blazeski <slo  2008-07-19 06:04:03 
Re: Learning purposes Scheme interpreterer with support for c
Pascal Costanza <pc@[E  2008-07-20 18:07:22 
Re: Learning purposes Scheme interpreterer with support for
"Kjetil S. Matheusse  2008-07-19 15:08:39 
Re: Learning purposes Scheme interpreterer with support for
leppie <xacc.ide@[EMAI  2008-07-19 09:17:35 
Re: Learning purposes Scheme interpreterer with support for
Slobodan Blazeski <slo  2008-07-21 07:48:14 
Re: Learning purposes Scheme interpreterer with support for c
Pascal Costanza <pc@[E  2008-07-21 18:24:40 
Re: Learning purposes Scheme interpreterer with support for
leppie <xacc.ide@[EMAI  2008-07-21 09:17:30 
Re: Learning purposes Scheme interpreterer with support for con
George Neuner <gneuner  2008-07-21 14:12:50 
Re: Learning purposes Scheme interpreterer with support for
leppie <xacc.ide@[EMAI  2008-07-21 09:18:38 
Re: Learning purposes Scheme interpreterer with support for
Andrew Reilly <andrew-  2008-07-22 00:49:57 
Re: Learning purposes Scheme interpreterer with support for
Slobodan Blazeski <slo  2008-07-22 03:49:44 
Re: Learning purposes Scheme interpreterer with support for
Slobodan Blazeski <slo  2008-07-22 04:00:42 
Re: Learning purposes Scheme interpreterer with support for con
pjb@[EMAIL PROTECTED] (P  2008-07-22 20:01:18 
Re: Learning purposes Scheme interpreterer with support for
Slobodan Blazeski <slo  2008-07-22 04:10:41 
Re: Learning purposes Scheme interpreterer with support for c
Pascal Costanza <pc@[E  2008-07-22 13:15:23 
Re: Learning purposes Scheme interpreterer with support for con
pjb@[EMAIL PROTECTED] (P  2008-07-22 15:12:27 
Re: Learning purposes Scheme interpreterer with support for
leppie <xacc.ide@[EMAI  2008-07-22 06:49:09 
Re: Learning purposes Scheme interpreterer with support for
Vend <vend82@[EMAIL PR  2008-07-25 09:51:29 
Re: Learning purposes Scheme interpreterer with support for
"Kjetil S. Matheusse  2008-07-25 19:29:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Sep 6 15:41:13 CDT 2008.