Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LOGOS

Logos is my pet project dynamically-typed, interpreted, functional language.

Language specyfications are in docs.md. Example code is in test/example_programs.

Dependencies

dune opam bmake getopts (from opam)

Usage

Calling program without arguments enters repl.

flag -e <expr> evaluated expression and prints result to stdout.

flag -l prints lexer output.

flag -g prints extra debug.

Passing files as other arguments results in evaluating files and printing result to stdout.

Order of passed filese determines what definitions are visible at which point of evaluation.

Future Plans

[x] Make environment persistant - evaluated identifiers stay visible to code evaluated after them.

[ ] Implement module system - keyword import/include <module-name/path> that finds file, evaluates it and appends definition to assignment stack.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages