Funciton (pronounced: /ˈfʌŋkɪtɒn/) is a two-dimensional, declarative, functional, esoteric programming language. This is an interpreter and compiler.
C#
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
FncLib
FncPrograms
Src
Thirdparty
.gitignore
Funciton.sln
README.md

README.md

Funciton (pronounced: /ˈfʌŋkɪtɒn/) is a two-dimensional, declarative, functional, esoteric programming language.

Usage

  • Funciton.exe sourcefile(s) [-t[name] [-t[name]] ...] [-s<string>|-i<integer>]

    • Executes (interprets) a Funciton program.
  • Funciton.exe sourcefile(s) -c<file>

    • Compiles a Funciton program to an exe.
  • Funciton.exe sourcefile(s) -a[name] [-a[name] ...]

    • Displays a debug analysis.

Options

  • Interpreting Funciton programs:

    • -t[name]
      • Displays a debug trace of any number of functions and/or the main program during execution. For example, -t+ -t× -t traces the + and × functions and the main program.
    • -s<string>
      • Specifies a string to use as standard input (actual stdin is ignored). Cannot be used with -i.
    • -i<integer>
      • Makes the stdin box return this integer (even if it is not a valid string) (actual stdin is ignored). Cannot be used with -s.
  • Compiling Funciton programs:

    • -c<filename>
      • Compiles the Funciton program to an exe and writes the output to the specified filename.
  • Miscellaneous:

    • -a[name]
      • Displays analyses of any number of functions and/or the main program. For example, -a+ -a× -a analyzes the + and × functions and the main program. (The program is not executed.)

Notes on the compiler

There is a known issue with compiling code that makes use of lambda expressions.