Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Copilot

< >

Copilot is a programming language created in 2021.

#3424on PLDB 3Years Old


Example from the web:
-- Raw temperature from sensor, range -50.0C to 100.0C. temp :: Stream Word8 temp = extern "temperature" Nothing -- Transform the temperature to Celsius. ctemp :: Stream Float ctemp = (unsafeCast temp) * (150.0 / 255.0) - 50.0 -- Bind two triggers with a 3.0C hysteresis. spec = do trigger "heaton" (ctemp < 18.0) [arg ctemp] trigger "heatoff" (ctemp > 21.0) [arg ctemp]

View source

- Build the next great programming language About Acknowledgements Extensions Day 630 Donate feedback@pldb.io