A library for using function programming concepts to more concisely and expressively code in apps like games and chatbots. I thought of it as I walked around the city of Prague on a sunny Spring day. This is not an official Microsoft project.
Major features of Prague:
- strongly-typed when using TypeScript (but you don't have to use TypeScript)
- flexibly asynchronous - mix functions that return Promises with functions that don't
- utilizes and promotes functional programming (you do actually have to use functional programming, but you don't have to know anything about it to get started)
- clone this repo
npm install
npm run build
(ornpm run watch
to build on file changes)
npm install prague
The Prague tutorial starts here.
There is a simple chatbot sample here.
After building Prague, run it by node lib/samples/runSimpleBot.js
, then try saying:
My name is {your name here}
Je m'appelle {your name here}
Gone fishing
Howdy y'all, I'm { your name here}
Back to work
Howdy y'all, I'm { your name here}
Goodbye