Add catch, throw

Merged
#77 · Created  · Last updated

Merged pull request

Merged in tuananhle/anglican/try-throw (pull request #77)

83da33e·Author: ·Closed by: ·2017-07-29

Description

attempt to write cps transformations as described here

  • src/anglican/emit.clj: wraps query body inside a try

  • src/anglican/state.clj: add field ::catch-stack to state and corresponding methods to modify

  • src/anglican/trap.clj: cps transformations for catch, throw ; dispatch methods

  • test/anglican/trap_test.clj: very simple unit tests for cps transformations of catch, throw

  • test/anglican/catch_throw_test.clj: contains tests for catch-throw functionality

0 attachments

0 comments

Loading commits...