Skip to content

bad-antics/ltl-rational

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ltl-rational

Rational-number type with continued-fraction rounding.

Written in Lateralus — a statically typed, pipeline-oriented programming language.

Quick start

# install the lateralus toolchain (one-liner)
curl -sSL https://lateralus.dev/install.sh | sh

# clone and build
git clone https://github.com/bad-antics/ltl-rational.git
cd ltl-rational
lateralus run main.ltl

What's inside

.
├── .gitattributes
├── LICENSE
├── README.md
└── main.ltl

See main.ltl for the entry point.

Why Lateralus?

Lateralus compiles straight to C99, LLVM IR, JavaScript, and WebAssembly, so a tool written in it runs anywhere those targets run. The pipeline operator (|>) makes data-flow code read top-to-bottom:

let result = input
    |> parse
    |> transform
    |> filter(|x| x.is_valid())
    |> collect_into_list()

License

MIT. See LICENSE.

Related

About

Rational-number type with continued-fraction rounding.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors