/example-projects

A collection of example programs, written in Gren

Primary LanguageHTMLBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Example Projects

A collection of example programs, written in Gren.

hello_world

code / demo

Traditionally the first program one creates in any language, here implemented as a browser application. This represents the simplest browser-based Gren application you can make, and serves as a nice test to see if you've got Gren setup properly on your machine.

7GUIs

7GUIs is a set of small tasks, suitable for demonstrating how common GUI patterns can be implemented in a specific framework. The following folders implement the solutions to the 7GUIs tasks:

local_storage

code / demo

This program shows how you can make use of the gren-lang/web-storage package for storing values in local storage.

files

code / demo

This program shows how you can make use of the gren-lang/files package for downloading and uploading files from a browser-based Gren program.

todo_mvc

code / demo

This is an implementation of the infamous Todo MVC app in Gren.