Sha256: 5ddfa52104ccc8275690eb580f4df0810158d9a9525e0334776aaab6079a5af7

Contents?: true

Size: 813 Bytes

Versions: 5

Compression:

Stored size: 813 Bytes

Contents

module Alf
  #
  # Implements a small LISP-like DSL on top of Alf.
  #
  # The lispy dialect is the functional one used in .alf files and in compiled
  # expressions as below:
  #
  #   Alf.lispy.compile do
  #     (restrict :suppliers, lambda{ city == 'London' })
  #   end
  #
  # The DSL this module provides is part of Alf's public API and won't be broken 
  # without a major version change. The module itself and its inclusion pre-
  # conditions are not part of the DSL itself, thus not considered as part of 
  # the API, and may therefore evolve at any time. In other words, this module 
  # is not intended to be directly included by third-party classes. 
  #
  module Lispy
    require 'alf/lispy/instance_methods'

    DUM = Relation::DUM
    DEE = Relation::DEE
  end # module Lispy
end # module Alf

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-0.12.2 lib/alf/lispy.rb
alf-0.12.1 lib/alf/lispy.rb
alf-0.12.0 lib/alf/lispy.rb
alf-0.11.1 lib/alf/lispy.rb
alf-0.11.0 lib/alf/lispy.rb