Skip to content

cygx/p6-tinycc

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
t
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Perl 6 bindings for the Tiny C Compiler

Copyright 2017 cygx <cygx@cpan.org>
Distributed under the Boost Software License, Version 1.0

If libtcc cannot be found automatically, manually set the LIBTCC environment
variable. It's recommended to do so just once at module installation time, eg

    LIBTCC=/usr/lib/libtcc.so zef install TinyCC

Note that TinyCC only generates a shared library if you pass --disable-static
to its configure script.

Windows users that trust a binary TinyCC version compiled from the
public 'mob' development branch[1][2] may use

    zef install TinyCC::Resources::Win64

to install a minimal TinyCC distro into their Rakudo prefix.

Using that version should be as simple as

    perl6 -MTinyCC::Bundled example.p6

Documentation has yet to be written. For now, just take a look at some
example code[3][4].

[1] http://repo.or.cz/tinycc.git/shortlog/refs/heads/mob
[2] https://github.com/cygx/p6-tinycc-resources-win64
[3] https://github.com/cygx/p6-tinycc/blob/master/example.p6
[4] https://github.com/cygx/p6-tinycc/tree/master/t

About

Perl 6 bindings for the Tiny C Compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages