Code Monkey home page Code Monkey logo

pico-c's Introduction

Origins

pico-c is a project created by Zik at https://code.google.com/p/picoc. The projet is now hosted at https://gitlab.com/zsaleeba/picoc.

pico-c intends to be a very light C interpreter. pico-c is very small, but include many standard libraries.

The content

Initially those libraries were natively integrated into pico-c:

  • ctype.h
  • errno.h
  • math.h
  • stdbool.h
  • stdio.h
  • stdlib.h
  • string.h
  • time.h
  • unistd.h

Some of them were improved:

  • stdio.h
  • unistd.h

We have planned to add support for 3 other useful libraries:

  • dirent.h
  • regex.h
  • socket.h
  • stat.h

The pico-c syntax

$ pico-c -h
pico-c.exe, A very small C interpreter
Usage: pico-c.exe [-h] [-i] [-m] [-n] [-o] [<filename1>...] [- <arg1>...]
        -h: this help message
        -i: force interactive mode at the end of scripts
        -m: run main() function automaticaly
        -n: don't print prompt
        -o: the original "old" mode
        -v: print version
Exemples:
        pico-c.exe script1.pcc script2.pcc
        pico-c.exe -i script.pcc
        pico-c.exe -m script1.pcc script2.pcc - arg1 agr2}

Cyd

pico-c's People

Contributors

cyd01 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.