├── .gitignore ├── .gitmodules ├── .travis.yml ├── COPYRIGHT ├── Changelog ├── LICENSE ├── Makefile ├── README.md ├── apps ├── hello-world.fun ├── instagram │ └── instagram.fun └── todo-mvc │ ├── todo-mvc.css │ └── todo-mvc.fun ├── bin └── fun ├── examples ├── chat.css ├── chat.fun ├── composit_statements.js ├── drag.fun ├── drag2.fun ├── for-loops.fun ├── if_else.fun ├── image.fun └── switch.fun ├── package.json ├── scripts └── run-tests.js ├── specification ├── compiler.txt ├── specification.txt └── types.md ├── src ├── README.md ├── compiler.js ├── dev-client.html ├── dev-server.js ├── highlighter │ ├── codePrinter.css │ └── codePrinter.js ├── info.js ├── modules │ ├── alert.fun │ ├── app.fun │ ├── console.fun │ ├── facebook.fun │ ├── jsonp.fun │ ├── list.fun │ ├── localstorage.fun │ ├── location.fun │ ├── mouse.fun │ ├── style.fun │ ├── tap.fun │ ├── text.fun │ ├── time.fun │ ├── twitter.fun │ ├── ui │ │ └── lists.fun │ ├── uuid.fun │ ├── viewport.fun │ └── xhr.fun ├── parser.js ├── resolver.js ├── runtime │ ├── expressions.js │ ├── library.js │ └── normalize.css ├── tokenizer.js └── util.js └── test ├── ast-mocks.js ├── parser-mocks.js ├── resolver-mocks.js ├── runtime-mocks.js └── tests ├── test-1-runtime-library.js ├── test-2-parser.js ├── test-3-resolver.js └── test-4-compiler.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | *~ 4 | .*swp 5 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/.gitmodules -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/.travis.yml -------------------------------------------------------------------------------- /COPYRIGHT: -------------------------------------------------------------------------------- 1 | Copyright (c) 2023 - Marcus Westin 2 | -------------------------------------------------------------------------------- /Changelog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/Changelog -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/README.md -------------------------------------------------------------------------------- /apps/hello-world.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/apps/hello-world.fun -------------------------------------------------------------------------------- /apps/instagram/instagram.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/apps/instagram/instagram.fun -------------------------------------------------------------------------------- /apps/todo-mvc/todo-mvc.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/apps/todo-mvc/todo-mvc.css -------------------------------------------------------------------------------- /apps/todo-mvc/todo-mvc.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/apps/todo-mvc/todo-mvc.fun -------------------------------------------------------------------------------- /bin/fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/bin/fun -------------------------------------------------------------------------------- /examples/chat.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/examples/chat.css -------------------------------------------------------------------------------- /examples/chat.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/examples/chat.fun -------------------------------------------------------------------------------- /examples/composit_statements.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/examples/composit_statements.js -------------------------------------------------------------------------------- /examples/drag.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/examples/drag.fun -------------------------------------------------------------------------------- /examples/drag2.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/examples/drag2.fun -------------------------------------------------------------------------------- /examples/for-loops.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/examples/for-loops.fun -------------------------------------------------------------------------------- /examples/if_else.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/examples/if_else.fun -------------------------------------------------------------------------------- /examples/image.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/examples/image.fun -------------------------------------------------------------------------------- /examples/switch.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/examples/switch.fun -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/package.json -------------------------------------------------------------------------------- /scripts/run-tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/scripts/run-tests.js -------------------------------------------------------------------------------- /specification/compiler.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/specification/compiler.txt -------------------------------------------------------------------------------- /specification/specification.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/specification/specification.txt -------------------------------------------------------------------------------- /specification/types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/specification/types.md -------------------------------------------------------------------------------- /src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/README.md -------------------------------------------------------------------------------- /src/compiler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/compiler.js -------------------------------------------------------------------------------- /src/dev-client.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/dev-client.html -------------------------------------------------------------------------------- /src/dev-server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/dev-server.js -------------------------------------------------------------------------------- /src/highlighter/codePrinter.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/highlighter/codePrinter.css -------------------------------------------------------------------------------- /src/highlighter/codePrinter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/highlighter/codePrinter.js -------------------------------------------------------------------------------- /src/info.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/modules/alert.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/alert.fun -------------------------------------------------------------------------------- /src/modules/app.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/app.fun -------------------------------------------------------------------------------- /src/modules/console.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/console.fun -------------------------------------------------------------------------------- /src/modules/facebook.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/facebook.fun -------------------------------------------------------------------------------- /src/modules/jsonp.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/jsonp.fun -------------------------------------------------------------------------------- /src/modules/list.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/list.fun -------------------------------------------------------------------------------- /src/modules/localstorage.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/localstorage.fun -------------------------------------------------------------------------------- /src/modules/location.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/location.fun -------------------------------------------------------------------------------- /src/modules/mouse.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/mouse.fun -------------------------------------------------------------------------------- /src/modules/style.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/style.fun -------------------------------------------------------------------------------- /src/modules/tap.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/tap.fun -------------------------------------------------------------------------------- /src/modules/text.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/text.fun -------------------------------------------------------------------------------- /src/modules/time.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/time.fun -------------------------------------------------------------------------------- /src/modules/twitter.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/twitter.fun -------------------------------------------------------------------------------- /src/modules/ui/lists.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/ui/lists.fun -------------------------------------------------------------------------------- /src/modules/uuid.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/uuid.fun -------------------------------------------------------------------------------- /src/modules/viewport.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/viewport.fun -------------------------------------------------------------------------------- /src/modules/xhr.fun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/modules/xhr.fun -------------------------------------------------------------------------------- /src/parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/parser.js -------------------------------------------------------------------------------- /src/resolver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/resolver.js -------------------------------------------------------------------------------- /src/runtime/expressions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/runtime/expressions.js -------------------------------------------------------------------------------- /src/runtime/library.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/runtime/library.js -------------------------------------------------------------------------------- /src/runtime/normalize.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/runtime/normalize.css -------------------------------------------------------------------------------- /src/tokenizer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/tokenizer.js -------------------------------------------------------------------------------- /src/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/src/util.js -------------------------------------------------------------------------------- /test/ast-mocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/test/ast-mocks.js -------------------------------------------------------------------------------- /test/parser-mocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/test/parser-mocks.js -------------------------------------------------------------------------------- /test/resolver-mocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/test/resolver-mocks.js -------------------------------------------------------------------------------- /test/runtime-mocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/test/runtime-mocks.js -------------------------------------------------------------------------------- /test/tests/test-1-runtime-library.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/test/tests/test-1-runtime-library.js -------------------------------------------------------------------------------- /test/tests/test-2-parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/test/tests/test-2-parser.js -------------------------------------------------------------------------------- /test/tests/test-3-resolver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/test/tests/test-3-resolver.js -------------------------------------------------------------------------------- /test/tests/test-4-compiler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcuswestin/fun/HEAD/test/tests/test-4-compiler.js --------------------------------------------------------------------------------