Liking cljdoc? Tell your friends :D

fif.client

Functions for better interoperability between fif and a clojure(script) client.

Functions for better interoperability between fif and a
clojure(script) client.
raw docstring

fif.commandline

Used for the standalone fif executable.

Used for the standalone fif executable.
raw docstring

fif.impl.prepl

Implementation of programmable repl. Useful for implementing fif outside of a standard input/output environment.

Implementation of programmable repl. Useful for implementing fif
outside of a standard input/output environment.
raw docstring

fif.impl.repl

clj

Clojure Implementation of a basic repl.

Clojure Implementation of a basic repl.
raw docstring

fif.impl.stack-machine

Main implementation of IStackMachine

Main implementation of IStackMachine
raw docstring

fif.server.core

A fif server uses a stack-machine with a set of sessions, which are separate stack-machine instantiations.

A fif server uses a stack-machine with a set of *sessions*, which are
separate stack-machine instantiations.
raw docstring

fif.server.dynamic

Represents dynamic bindings used between the server and repl instances for individual thread management of input and output.

Represents dynamic bindings used between the server and repl
instances for individual thread management of input and output.
raw docstring

fif.server.repl

Represents a fif repl, which is used with the fif.server.core socket server.

Represents a fif repl, which is used with the fif.server.core socket
server.
raw docstring

fif.stack-machine

Main Stack Machine Protocol which stores state machine related information, and stores the entirety of the language functionality.

Creating the stack machine with the standard libraries is what makes up fif.

Main Stack Machine Protocol which stores state machine related
information, and stores the entirety of the language functionality.

Creating the stack machine with the standard libraries is what makes
up fif.
raw docstring

fif.stack-machine.evaluators

Functions for running and evaluating fif code within a stack machine.

Functions for running and evaluating fif code within a stack machine.
raw docstring

fif.stack-machine.flags

Functions for manipulating the stack machine flags

Functions for manipulating the stack machine flags
raw docstring

fif.stack-machine.mode

Includes functions for creating mode functions within the stack machine.

Includes functions for creating mode functions within the stack
machine.
raw docstring

fif.stack-machine.stash

Functions for manipulating the stack machine mode stash. The stash is used by individual modes for storing information in between steps.

Functions for manipulating the stack machine mode stash. The stash is
used by individual modes for storing information in between steps.
raw docstring

fif.stack-machine.validation

Includes functions for validating stack-machine word operations.

Includes functions for validating stack-machine word operations.
raw docstring

fif.stack-machine.verification

Functions for ensuring certain guarantees within the stack machine before running operations.

Functions for ensuring certain guarantees within the stack machine
before running operations.
raw docstring

fif.stdlib

Includes all of the standard library functions and modes for fif.

Includes all of the standard library functions and modes for fif.
raw docstring

fif.stdlib.collecter

Mode for collecting values, and placing within a data structure

Mode for collecting values, and placing within a data structure
raw docstring

fif.stdlib.collection-ops

Includes the majority of clojure collection functions, which have been ported to fif for use with the same collections.

All collection operations follow the same argument order:

Examples: (require '[fif.core :as fif])

;; Clojure (conj [1 2 3] 4) ;; => [1 2 3 4]

;; Fif (fif/reval [1 2 3] 4 conj) ;; => '([1 2 3 4])

Includes the majority of clojure collection functions, which have
been ported to fif for use with the same collections.

All collection operations follow the same argument order:

Examples:
(require '[fif.core :as fif])

;; Clojure
(conj [1 2 3] 4) ;; => [1 2 3 4]

;; Fif
(fif/reval [1 2 3] 4 conj) ;; => '([1 2 3 4])

raw docstring

fif.stdlib.compile

Defines the two main modes, compile-mode and function-mode, which are used to define new word definitions, and to invoke word definitions with their own word definition scope.

compile-mode is called when a function is first defined with arg-start-token, and this compilation mode is finished upon reaching the end of the new definition defined by arg-end-token.

function-mode is entered when a word definition is invoked from the code queue.

Defines the two main modes, compile-mode and function-mode, which are
used to define new word definitions, and to invoke word definitions
with their own word definition scope.

compile-mode is called when a function is first defined with
`arg-start-token`, and this compilation mode is finished upon
reaching the end of the new definition defined by `arg-end-token`.

function-mode is entered when a word definition is invoked from the
code queue.
raw docstring

fif.stdlib.constant

Allows defining words which return a constant value

Allows defining words which return a constant value
raw docstring

fif.stdlib.help

Functions for learning about how to use fif.

Functions for learning about how to use fif.
raw docstring

fif.stdlib.io

Includes IO operations for reading in fif files, or additional text files.

Notes:

  • This is not included in the fif.core/default-stack for security reasons.

  • This is used primarily with the 'fif' commandline tool.

Includes IO operations for reading in fif files, or additional text
files.

Notes:

- This is not included in the fif.core/*default-stack* for security reasons.

- This is used primarily with the 'fif' commandline tool.
raw docstring

fif.stdlib.ops

Standard Library Word Definitions for common operators

  • Most of the functions listed were taken from the Forth standard library.
Standard Library Word Definitions for common operators

- Most of the functions listed were taken from the Forth standard library.
raw docstring

fif.stdlib.piecewise

Piecewise operators allow you to re-evaluate values that are on the stack.

This allows you to grab variables that are on the stack to be re-evaluated.

Piecewise operators allow you to re-evaluate values that are on the
stack.

This allows you to grab variables that are on the stack to be re-evaluated.
raw docstring

fif.stdlib.reserved

word symbols that will be reserved, with prevention when being generating certain word definitions.

word symbols that will be reserved, with prevention when being
generating certain word definitions.
raw docstring

fif.stdlib.shell

Provides fif with a dash '-' separated argument processing mode. This performs a reach-ahead to word definitions, and stores the results in a stash which can be accessed by a word function.

Provides fif with a dash '-' separated argument processing mode. This
performs a reach-ahead to word definitions, and stores the results
in a stash which can be accessed by a word function.
raw docstring

No vars found in this namespace.

fif.stdlib.tools

Includes stack functionality that can manipulate the entire stack machine.

Includes stack functionality that can manipulate the entire stack
machine.
raw docstring

fif.stdlib.variable

Includes the variable-mode, for creating mutable variables within a stack machine.

Includes the variable-mode, for creating mutable variables within a
stack machine.
raw docstring

fif.utils.functional

No vars found in this namespace.

fif.utils.scope

Implements a container system which allows for retrieval of values within a hierarchy of containers, where each container is a separate scope.

Implements a container system which allows for retrieval of values
within a hierarchy of containers, where each container is a separate
scope.
raw docstring

fif.utils.stash

Functions for manipulating stashes, not to be confused with stacks. A stash in this case is collection of containers. The containers are sequenced fifo-style, with operations performed on the latest container pushed into the collection of stash containers.

Functions for manipulating stashes, not to be confused with stacks.
A stash in this case is collection of containers. The containers are
sequenced fifo-style, with operations performed on the latest
container pushed into the collection of stash containers.
raw docstring

fif.utils.token

Includes functions for manipulating tokens/symbols.

Includes functions for manipulating tokens/symbols.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close