Skip to content

A Language based on Lambda (λ) Calculus which transpiles to F#

License

Notifications You must be signed in to change notification settings

archanpatkar/LambdaSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Language inspired from Lambda Calculus written in F#

Which transpiles to F# !

Introduction

L# supports Pure Functional paradigm

It provides Function Abstractions from Lambda Calculus

Example

L# Code

( ^b. ( b( ^x. ^y. x ) ) ( ^x. ^y. y ) ) ( ^x. ^y. x )

Transpiled to F#

( fun b-> ( b( fun x-> fun y-> x ) ) ( fun x-> fun y-> y ) ) ( fun x-> fun y-> x )

Bundler Code

#load "../LambdaSharp.fsx"
open LambdaSharp      
LambdaSharp.transpileFromFile "./one.lsx" "one.target.fsx"

More on Lambda Calculus

License

MIT

Copyright (c) 2018 Archan Patkar

Releases

No releases published

Packages

No packages published

Languages