Skip to content

probonopd/citron

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Citron :: A Programming Language for the crazy and people that like functions Build Status

Release

A binary release (x86_64 ELF) is available (see Default Module Resolution for dynamic modules)

Build guide

minimum required libraries:

  • libdl -- for dynamic loading of modules
  • libbsd -- for utility functions (compile without forLinux defined to get rid of this dependency)
  • libpcre -- for regular expressions
  • libpthread -- for threading support
  • libgc -- for Garbage Collection

building for debug:

  • with boehm gc: WITH_BOEHMGC=1 make debug
  • without: make debug

Since this is an alpha version, install is not allowed.

Basic language syntax:

All operations are done through sending and receiving messages between objects.

receiver message

receiver keyword: 'string' messages: 1, can be: 'chained', like so.

there are some examples in the examples directory.

running the interpreter is quite simple: ctr eval in the directory that the file eval is.

Default Module Resolution

A default module resolution path is assigned at build-time, which normally points to the data directory of the install; However, this can always be overridden by specifying an environment variable (CITRON_EXT_PATH by default).

About

General purpose programming language (mainly for unix-like systems)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 61.3%
  • Roff 27.1%
  • Makefile 6.9%
  • HTML 1.7%
  • Python 1.4%
  • Shell 0.6%
  • Other 1.0%