Conditional compilation (or reading)

Description

As people start trying to write libs that are portable between Clojure and ClojureScript they might need to have a bit of branching on target. N.B. supporting this means a change to Clojure, although it has general utility there as well.

Consider CL #+ #- reader macros - http://www.lispworks.com/documentation/lw50/CLHS/Body/02_dhq.htm

Patch: cljs-27-v6.diff

Related: CLJ-1424,

Environment

None

Attachments

8

Activity

Show:

David Nolen April 9, 2015 at 4:32 PM

Alex Miller January 21, 2015 at 10:36 PM

Updated to use new tools.reader patch and to remove the ability to dynamically set the features set. The active set of features can be set on startup and are held in the features var in the analyzer.

Alex Miller January 7, 2015 at 6:28 PM

Yep, updated to -v5 patch.

David Nolen January 7, 2015 at 3:55 AM

Alex the freshened patch includes modifications to the compiler version dynamic var and compiler version fn. Can we remove these? Thanks!

Alex Miller January 6, 2015 at 9:04 PM

Freshened patch for current CLJS.

Completed

Details

Assignee

Reporter

Approval

Vetted

Patch

Code and Test

Fix versions

Affects versions

Priority

Created July 22, 2011 at 1:38 PM
Updated April 9, 2015 at 4:32 PM
Resolved April 9, 2015 at 4:32 PM