Re: [racket] please i need your help using DrRacket

2011-03-15 Thread John Clements
On Mar 15, 2011, at 9:49 AM, FIRAS MOHAMMAD NIMER ABU HASAN wrote: > Dear all > > > how can i edit this code in order to compute the 2 power any number as > argument for example 2 power 5 = 32: See my earlier response to you. I don't believe you responded. John Clements smime.p7s Descrip

[racket] please i need your help using DrRacket

2011-03-15 Thread FIRAS MOHAMMAD NIMER ABU HASAN
Dear all how can i edit this code in order to compute the 2 power any number as argument for example 2 power 5 = 32: #lang plai ;; (interp (parse '5)(list (fundef 'null 'n (id 'n ;; (interp (parse '{+ 5 5})(list (fundef 'null 'n (id 'n ;; (interp (parse '{with {x {+ 5 5}} {+ x x}})(lis

[racket] please i need your help

2011-03-07 Thread FIRAS MOHAMMAD NIMER ABU HASAN
please how can i edit this code in order to define a constant twopower function,which will look similar to the following definition: (define twoplus ’{fun {n} { n 2}}) Of course, twopower should not implement the function n 2, but 2n, for n a non-negative integer. for example if we use this

Re: [racket] please i need your help using Scheme

2011-02-16 Thread Neil Van Dyke
FIRAS MOHAMMAD NIMER ABU HASAN wrote at 02/16/2011 06:26 AM: Please help me by showing me how can I use Scheme or by DrRacket software to build the parser for this Grammar: Welcome to Racket and Scheme. There are a few different ways to write a parser for that grammar. If you are writing thi

[racket] please i need your help using Scheme

2011-02-16 Thread FIRAS MOHAMMAD NIMER ABU HASAN
Dear all I am a student at AL-QUDS University in Palestine, I need your help as possible . Please help me by showing me how can I use Scheme or by DrRacket software to build the parser for this Grammar: expression -> number expression_tail expression_tail -> + expression expression_tail

[racket] please i need your help using Scheme

2011-02-16 Thread FIRAS MOHAMMAD NIMER ABU HASAN
Dear all I am a student at AL-QUDS University in Palestine, I need your help as possible . Please help me by showing me how can I use Scheme or by DrRacket software to build the parser for this Grammar: expression -> number expression_tail expression_tail -> + expression expression_tail