Skip to content

The default implementation of the core dependencies of the C target for the Gera programming language.

License

Notifications You must be signed in to change notification settings

geralang/ccoredeps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ccoredeps

The default implementation of the core dependencies of the C target for the Gera programming language.




The Gera programming language depends on a couple of functions when compiling to C, such as memory allocation functions, console output or mutexes. This repository implements this set of functions using libc.

If you want to use Gera in an environment without libc, you will need to implement these functions yourself.

This repository is cloned by default by gerap when compiling for the C target and no custom implementation is provided.

Expectations by Gera

Gera expects gera.h and geracoredeps.h to be provided in the exact same form they are provided here.

geratypes.h may be modified, but GeraFreeHandler, GeraAllocation, GeraArray, GeraString, gfloat, gint and gbool are all expected to be defined in the exact same way they are defined here.

geracoredeps.c has to exist at the directory root to be included in the compilation by default by gerap.

About

The default implementation of the core dependencies of the C target for the Gera programming language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages