ClojureScript

Conditional compilation (or reading)

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code and Test
  • Approval:
    Vetted

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.diff

Related: CLJ-1424, TRDR-14

  1. cljs-27.diff
    06/Aug/14 7:39 AM
    7 kB
    Alex Miller
  2. cljs-27-v2.diff
    11/Sep/14 9:04 AM
    10 kB
    Alex Miller
  3. conditional-compilation-clojure.diff
    19/Jul/12 9:11 AM
    6 kB
    Roman Scherer
  4. conditional-compilation-clojurescript.diff
    19/Jul/12 9:11 AM
    8 kB
    Roman Scherer

Activity

People

Vote (10)
Watch (8)

Dates

  • Created:
    Updated: