Skip to content

bad-antics/lateralus-lib-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lateralus-lib-template

Starter template: lateralus new lib — public API, docs, CI.

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/lateralus-lib-template.git
cd lateralus-lib-template
lateralus run main.ltl

What's inside

.
├── .gitattributes
├── LICENSE
├── README.md
└── lateralus.toml└── lib.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

Starter template: `lateralus new lib` — public API, docs, CI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors