Cancelado

Translate Java to Scheme

You are to write a Scheme version of the ExpressionCalculator class that will produce, as closely as possible, the same runtime behavior as the Java code([url removed, login to view] is included for translation). Note that the output of the Scheme code won't look exactly the same, since the standard Scheme output function display uses a slightly different algorithm than the standard Java output function System.out.print.

In the situation of the calculator, a continuation is needed to return to the commands procedure after an error has occurred. Thus, the continuation needs to be a parameter to every parsing procedure, to the match procedure, and to the error procedure [url removed, login to view] name of this continuation is exitproc. Note also how the command procedure becomes the parameter to call-with-current-continuation. Finally, when the continuation procedure exitproc is called, just pass it the empty list as the value it should return, since we don't really care what this value is.

So, as you see, you don't have to write any continuation code yourself, just use the supplied code, making sure to pass exitproc along to every parsing procedure.

As before, the [url removed, login to view] code that you submit should run the scanner and driver code. You may, if you wish, change the skeleton code, as long as your expressionparser continues to run with the scanner and driver. I would reccommend, though, that you the original code intact.

Document all code for easier understanding.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Scheme programming language, but must know Java to translate.

Habilidades: Engenharia, Java, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: write translate, work translate, what is a programming algorithm, what is an algorithm in programming, what is algorithm in programming, what is a algorithm in programming, web programming with java, translate your, translate write, translate t, the scheme programming language, the java programming language, site for java programming, server side programming java, server side programming in java, scanner programming software, scanner programming, match 3 algorithm, making an algorithm, look translate, look for translate, java server programming, java programming version, java programming source code, java programming platform

Acerca do Empregador:
( 12 comentários ) United States

ID do Projeto: #3057957

1 freelancer está ofertando em média $9 para este trabalho

crizantemala

See private message.

$8.5 USD in 2 dias
(0 Comentários)
0.0