Skip to content

jjh84/ocaml-radamsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCaml bindings to radamsa

OCaml radamsa is a project to provide OCaml binding for radamsa.

Installation

Use opam to install radamsa package. This will automatically compile & install libradamsa in sandboxed environment.

opam install radamsa

Example

utop example

utop # #require "radamsa";;
utop # Radamsa.radamsa "(1+2)*3";;
- : string = "(1󠁈+1)*3"
utop # Radamsa.radamsa "(1+2)*3";;
- : string = "(1+18446744073709551616)*3"
utop # Radamsa.radamsa ~seed:8 "(1+2)*3";;
- : string = "(2147483649+2)*2"
utop # Radamsa.radamsa ~seed:10 "(1+2)*3";;
- : string = "(0+6135)*-1"

About

radamsa binding for the OCaml language

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages