Ripple is a programming language created in 2014 by Yuya Watari.
#1954on PLDB | 10Years Old |
git clone https://github.com/Ripple-Lang/Ripple
Ripple is a programming language which is well designed for numerical simulations.
// Stage
// - A target object of this simulation
stage n as long; // the number of mice
// Parameter
param c as int; // the number of mice which one mouse gives birth to
// Initialization
init {
n<0> = 2; // n<0> means the value of n when time is 0
}
// Operation
// - Code which is executed every time (like recurrence formula)
operation {
n<next> = n<now> * c; // "now" and "next" are keywords in Ripple. next == now + 1.
}