Skip to content

oftn-oswg/coca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Coca C Compiler

Coca is meant to be a C implementation in the JavaScript environment. Code is not interpreted, but rather compiled (or translated) into JavaScript code.

Purpose

There are many uses for having a C implementation written in JavaScript. The web is quickly becoming a platform that is much more than what it used to be. Online development environments can make use of Coca to do syntactic validation, semantic validation, or to provide a helpful debugger. Subsequently, this can be useful for porting C applications to the web. This project is designed with the goal of having understandable diagnostics that link to the C specification, a simple and understandable codebase, and a modular library-based architecture.

Roadmap

  • Tokenizing (~90% complete)
  • Preprocessing (~5% complete)
  • Parsing
  • Analysis
  • Code generation

About

An implementation of C in JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •