felix language 1.1.1_rc1(1)

NAME

Felix language

SYNOPSIS

Felix is a modern statically  typed,  modular  programming
language which targets shared libraries rather than programs.  It
features automatic generation of event driven, cooperatively multitasked  programs  written  in  algorithmic style.  It is hybrid
functional, procedural and object oriented system

TECHNOLOGY

Arrayto Felix ones. A set of basic primitive types are provided in the
standard library.

C++ bindings

Here is an example of a C++ binding.

type int = "int";
incomplete type int = "int";
ctypes int, long;
incomplete ctypes astruct, bstruct;
fun add: int * int -> int = "$1+$2";
proc print: int = 'printf("%d",$1);';

Exporting symbols

Arrayenclosed in brackets, because unfortunately 'as' is a keyword
used in recursive type expressions.
export fun add of (int * int) as "add_int";
export proc print of (int * int) as "add_int";
export type (int) as "flx_int";

FILES

Arraystd.flx is the standard library.

VERSION

1.1.1_rc1

SEE ALSO

felix(1) for a language introduction and man page index flx(1) for a list of the tools.
flxcc(1) for a description of the wrapper generator tool. flx_lit(1) for a description of literals
flx_op(1) for a list of operators
flx_cop(1) for a list of C operator precedence names flx_key(1) for a list of keywords
flx_grammar(1) for a grammar summary
flx_lib_typ(1) for a list of library types flx_dir(1) for a list of directives
flx_exec(1) for a list of executable statements
flx_decl(1) for a list of declarative statements flx_bind(1) for a list of binding statements

WEB SITE

See http://felix.sourceforge.net

AUTHOR

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout