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

In Progress Posted 4 years ago Paid on delivery
In Progress Paid on delivery

[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

Project ID: #23064341

About the project

3 proposals Remote project Active 4 years ago

Awarded to:

naryl

Hello. I have done something similar for another implementation of Scheme on Javascript. It's not usable on BiwaScheme as is so it will still need some time. Also, BiwaScheme only supports deprecated macro system and i More

$200 USD in 7 days
(3 Reviews)
3.9

3 freelancers are bidding on average $147 for this job

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 More

$100 USD in 5 days
(2 Reviews)
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 More

$140 USD in 7 days
(0 Reviews)
0.0