mschoch / snowcone

A snowball compiler for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

snowcone snowcone

Snowcone is a snowball compiler for Go. Currently, it is only capable of lexing and parsing the source. It cannot yet generate the corresponding Go code.

Status

EXPERIMENTAL – the API will change once we add the ability to generate code.

Build Status GoDoc Go Report Card codebeat badge Coverage Status

TODO

  • Parser
    • get directives
    • review grammar - rule expanding C to = S, I encountered a reduce/reduce conflict that i haven't yet resolved
  • Build interpreter to evaluate externals on user supplied input
  • Generate Go code to execute externals in external apps

Open Questions

  • What does ? command do? Manual only includes it in the grammar and says it's a debugging aid.

About

A snowball compiler for Go

License:Apache License 2.0


Languages

Language:Go 85.0%Language:Yacc 15.0%