marcuswestin/fun
A programming language for the realtime web.
{ "createdAt": "2010-02-18T07:54:54Z", "defaultBranch": "master", "description": "A programming language for the realtime web.", "fullName": "marcuswestin/fun", "homepage": "http://marcuswest.in/read/fun-intro/", "language": "JavaScript", "name": "fun", "pushedAt": "2023-02-27T19:04:47Z", "stargazersCount": 174, "topics": [], "updatedAt": "2025-02-14T15:49:24Z", "url": "https://github.com/marcuswestin/fun"}A declarative programming language for realtime web applications
Getting started
Section titled “Getting started”Try this:
sudo npm install -g funecho '"Hello world!"' > hello.funfun hello.fun# Open your browser to localhost:8080Also try
curl https://raw.github.com/marcuswestin/fun/master/apps/todo-mvc/todo-mvc.fun > todo-mvc.funcurl https://raw.github.com/marcuswestin/fun/master/apps/todo-mvc/todo-mvc.css > todo-mvc.cssfun todo-mvc.funExamples
Section titled “Examples”Hello World
"Hello world!"Drag and Drop
import mouse
<div style={ position: 'absolute', top: mouse.y + 50, left: mouse.x + 50, width: 100, height: 100, background: 'red'}/>Getting involved
Section titled “Getting involved”The best way to get involved is to start writing fun apps and using them. There are bugs and inefficiencies waiting to be discovered!
If you want to hack on the source:
git clone https://marcuswestin@github.com/marcuswestin/fun.gitcd funmake setupmake test