Menu

Tree [c3e2a9] master /
 History

HTTPS access


File Date Author Commit
 COPYRIGHT 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 Conca-icon.png 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 Conca-screenshot.png 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 Left-fold-transformation.png 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 Makefile 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 README.txt 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 Right-fold-transformation.png 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 checks.conca 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 conca.scm 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 dig-function.txt 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 factorial.conca 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 fibonacci.conca 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 gcd.conca 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 make-distribution.sh 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 quick-reference.txt 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 square.conca 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 timestamp.scm 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time
 version 2019-04-15 Claude Marinier Claude Marinier [c3e2a9] first commit after a long time

Read Me

Conca is
 - a concatenative programming language
 - an interpreter

Conca is a lot like Joy [ http://en.wikipedia.org/wiki/Joy_(programming_language) ]
but much smaller. It is also like Cat [ http://www.cat-language.com/ ].

The major difference is the definition of new functions.

Cat
        define square { dup * }

Joy
        square == dup *

Conca
        [ sup * ] "square" define

-------

Compile like this.

    csc timestamp.scm
    ./timestamp > prologue.scm
    csc -d1 -O3 -X numbers-syntax -deploy -prologue prologue.scm \
        -R numbers -R linenoise -o conca conca.scm


Actually, just use make like this.

    make    (on Linux)
    make    (on Windows with Cygwin)

-------

This program was built with Chicken Scheme 4.12.0 on Linux (Ubuntu) and
MS Windows 10 with Cygwin.

The libraries it needs are included.

Chicken Scheme
  http://www.call-cc.org/

Cygwin
  https://cygwin.com/

Build chicken Scheme like this

  make PLATFORM=linux PREFIX=/usr/local
  make PLATFORM=linux PREFIX=/usr/local check
  make PLATFORM=linux PREFIX=/usr/local install
  chicken-install numbers
  chicken-install linenoise

  make PLATFORM=cygwin PREFIX=/usr/local
  make PLATFORM=cygwin PREFIX=/usr/local check
  make PLATFORM=cygwin PREFIX=/usr/local install
  chicken-install numbers
  chicken-install linenoise

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.