Write Scheme code for interpreter in JavaScript to create a with-event-handlers and event handlers on BiwaScheme

En curso Publicado hace 4 años Pagado a la entrega
En curso Pagado a la entrega

[login to view URL] describes the with-open-file and unwind-protect macros in Common Lisp. [login to view URL] describes the problems of creating a macro similar to unwind-protect in Scheme.

Using the incomplete Scheme implementation whose source code is at [login to view URL] , I would like to have macro that would allow me to write code something like this:

;;;; The following code should create click handlers for *all* DOM elements matching

;;;; the respective jQuery selectors.

;;;; The macro get-input should evaluate to a Scheme-native object containing all

;;;; information returned from the respective JavaScript-native event handlers.

(with-event-handlers

((click-handler-1 'click-handler jquery-selector-1)

(click-handler-2 'click-handler jquery-selector-2)

(timeout-handler 'timeout-handler 10000)

(key-handler 'key-handler)

(ajax-get-handler 'ajax-get url))

(define input (get-input)))

A properly formatted version of that code is attached.

JavaScript jQuery / Prototype AJAX Scheme

Nº del proyecto: #23064341

Sobre el proyecto

2 propuestas Proyecto remoto Activo hace 4 años

2 freelancers están ofertando un promedio de $120 por este trabajo

feliks1031

Hi,sir I am ready to start right away. I have reviewed your job description as well and very confident to handle this project perfectly. I will do multiple revision in your project with 100% satisfaction work guarantee Más

$100 USD en 5 días
(2 comentarios)
0.9
randhirsehgal49

Hope you doing well! I read your job details and I can do this work exactly as you wanted and have all the potential to provide you quality as well as the quick work for which you looking for. I can start working on y Más

$140 USD en 7 días
(0 comentarios)
0.0