tools.reader

Feature Expressions

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

Description

Feature expressions based directly on Common Lisp.

Implementation based on Roman's patch for CLJS-27. #+ #- and or not are supported. Unreadable tagged literals are suppressed through *suppress-read*.

For example, reading the following with features set to #{:clj} returns :baz

#+bad/platform #foo bar :baz

Initial feature names for each platform will be clj, cljs, and cljr.

CLJ-1424 is the accompanying patch for Clojure.

Patch: trdr-14-4.diff

  1. tools.reader-feature-expressions.diff
    15/May/14 5:43 PM
    7 kB
    Ghadi Shayban
  2. tools.reader-feature-expressions-2.diff
    04/Aug/14 12:56 PM
    6 kB
    Alex Miller
  3. tools.reader-feature-expressions-3.diff
    05/Aug/14 2:10 PM
    6 kB
    Alex Miller
  4. trdr-14-4.diff
    21/Jan/15 4:34 PM
    15 kB
    Alex Miller

Activity

People

Vote (0)
Watch (4)

Dates

  • Created:
    Updated: