Sha256: 5e8c703826dc1d7de8bf1f11ef8363e4035547a5fb62c6343e560eea2e045d16

Contents?: true

Size: 688 Bytes

Versions: 4

Compression:

Stored size: 688 Bytes

Contents

# frozen_string_literal: true

require_relative 'entry'

module MiniKraken
  module Core
    # Representation of a MiniKraken logical variable.
    # It is a named slot that can be associated with one value at the time.
    # In relational programming, there is no explicit assignment expression.
    # A logical variable acquires a value through an algorithm called
    # 'unification'.
    class LogVar
      include Entry # Add expected behaviour for symbol table entries

      # Create a logical variable with given name
      # @param aName [String] The name of the variable
      def initialize(aName)
        init_name(aName)
      end
    end # class
  end # module
end # module

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mini_kraken-0.3.03 lib/mini_kraken/core/log_var.rb
mini_kraken-0.3.02 lib/mini_kraken/core/log_var.rb
mini_kraken-0.3.01 lib/mini_kraken/core/log_var.rb
mini_kraken-0.3.00 lib/mini_kraken/core/log_var.rb