Skip to content
Bill Hails edited this page Oct 21, 2018 · 19 revisions

More of a wish-list than a plan, but I'd like to implement the rest of F-natural, specifically:

Lazy Lists

At least making @ (cons) lazy would allow streams programming with infinite lists i.e.

fn integersFrom(n) {
    n @ integersFrom(n + 1)
}

Bytecode Compiler

This is a bit of a stretch, but it is at least possible to write a bytecode generator in Python that could output something runnable by a separate bytecode interpreter. see my blog for more ideas.

Type Aliases

Just as string is a built-in alias for list(char) we should be able to declare our own. The syntax would be something like:

alias string list(char);

and we could loose the built-in string alias in favour of a library definition.

Up: Home

Clone this wiki locally