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 #{:clojure} returns :baz

#+bad/platform #foo bar :baz

I didn't provide a default set of features, but #{:clojure} isn't a bad start.

CLJ-1424 is the accompanying patch for Clojure.

Activity

Ghadi Shayban made changes -
Field Original Value New Value
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 #{:clojure} returns :baz

#+bad/platform #foo bar :baz

I didn't provide a default set of *features*, but #{:clojure} isn't a bad start.
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 #{:clojure} returns :baz

#+bad/platform #foo bar :baz

I didn't provide a default set of *features*, but #{:clojure} isn't a bad start.

CLJ-1424 is the accompanying patch for Clojure.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: