Share your repls and programming experiences

← Back to all posts
Fig - Pretty Much a Language
JosephHeinz

Fig- Pretty Much a Language

A week or so I posted about a project I was working on, Fig, at the time that I shared, it was pretty much just a module.

But that has changed!

Fig is now just about a language! It supports if statements, custom variables, and now functions! I will continue working on this to add support for multiline if statements, multiline functions and more things to do, like setting a variable to the response of an input, and more!

Official docs: Docs

Voters
ch1ck3n
AmoghTheCool
JosephHeinz
Comments
hotnewtop
IMayBeMe

Good idea but you could really clean up the implementation through a lexer and parser. Instead of having to write lines and lines of if statements, lexing and parsing would allow you to easily create an AST which would then be interpreted. Nice job though!

ch1ck3n

nice