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
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
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
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
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
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
6 matches
Mail list logo