Thanks to visit codestin.com
Credit goes to github.com

Skip to content

voidwyrm-2/vern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vern

An array programming language whose focus is simplicity, creating complexity from that simplicity.

Example

Sum <- `+/

Fac <- ɩ1~`*⍀

Fib <- `(0 1)_ `(, + :)@⌄

[1 2 3 4 5] Sum ; 15
5 Fac ; [1 2 6 24 120]
11 Fib ; 89

Todo

  • Implement list syntax
  • Finalize the 'pop' operator's character (was ', finalized as )
  • Add an escape formatter for unicode characters (in the form of \[char] and \.[name]\)
  • Get the escape formatter working with files
  • Implement the 'reduce' operator
  • Implement the 'range/iota' operator
  • Implement character literals (e.g. 'a, ' )
  • Implement public/private bindings with ·
  • Implement equals and not-equals
  • Add additional named built-in operators (à la, Uiua's &p, &ffi, etc)
  • Add basic examples
  • Add a 1D convulsion, AoC, and Project Euler as examples
  • Optimize arrays via reference counting
  • Image manipulation (?)

Building

Debug

nimble build -l
./vern -repl

Release

./build.nims host
./bin/host/vern -repl

Distribution

./build.nims all
ls dist

About

An array programming language focused on simplicity

Topics

Resources

License

Stars

Watchers

Forks

Languages