Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

A minimal example of a static, S-expression eDSL in ATS2

License

Notifications You must be signed in to change notification settings

mephistopheles-8/s-pression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

s-pression

This demonstrates a minimal, S-expression eDSL in the statics of ATS2.

Implementations are provided for Temptory and Postiats.

This is intended for illustrative purposes.

// (- (+ i0 i1) i2)
stadef test = $-.( $+.( i(i0,int), i(i1,int) ), i(i2,int)  )

implement main0 () = {
      val () = println!( proc_exec<test><int>() )
  }

LICENSE: MIT

About

A minimal example of a static, S-expression eDSL in ATS2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published