repo_full_name
stringlengths
6
93
repo_url
stringlengths
25
112
repo_api_url
stringclasses
28 values
owner
stringclasses
28 values
repo_name
stringclasses
28 values
description
stringclasses
28 values
stars
int64
617
98.8k
forks
int64
31
355
watchers
int64
990
999
license
stringclasses
2 values
default_branch
stringclasses
2 values
repo_created_at
timestamp[s]date
2012-07-24 23:12:50
2025-06-16 08:07:28
repo_updated_at
timestamp[s]date
2026-02-23 15:23:15
2026-05-03 18:52:12
repo_topics
listlengths
0
13
repo_languages
unknown
is_fork
bool
1 class
open_issues
int64
3
104
file_path
stringlengths
3
208
file_name
stringclasses
509 values
file_extension
stringclasses
1 value
file_size_bytes
int64
101
84k
file_url
stringclasses
627 values
file_raw_url
stringclasses
627 values
file_sha
stringclasses
624 values
language
stringclasses
8 values
parsed_at
stringdate
2026-05-04 01:12:36
2026-05-04 19:41:55
text
stringlengths
100
102k
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
examples/pico_wireless/secrets.h
null
null
null
null
null
null
C
2026-05-04T18:23:12.984457
#include "pico/stdlib.h" //DO NOT COMMIT THIS FILE!!! //Your wireless network's name and password #define NETWORK "network name here" #define PASSWORD "network password here"
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pico_vector/af-file-io.h
null
null
null
null
null
null
C
2026-05-04T18:23:12.986516
#include <stdlib.h> #include <stdint.h> #ifdef __cplusplus extern "C" { #endif void* fileio_open(const char* filename); void fileio_close(void* fhandle); size_t fileio_read(void* fhandle, void *buf, size_t len); int fileio_getc(void* fhandle); size_t fileio_tell(void* fhandle); size_t fileio_seek(void* fhandle, s...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/jpegdec/JPEGDEC.h
null
null
null
null
null
null
C
2026-05-04T18:23:12.987586
// // Copyright 2020 BitBank Software, Inc. All Rights Reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applic...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pico_vector/pretty-poly-primitives.h
null
null
null
null
null
null
C
2026-05-04T18:23:12.988809
/* Pretty Poly 🦜 - super-sampling polygon renderer for low resource platforms. Jonathan Williamson, August 2022 Examples, source, and more: https://github.com/lowfatcode/pretty-poly MIT License https://github.com/lowfatcode/pretty-poly/blob/main/LICENSE An easy way to render high quality graphics in embed...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pico_vector/af-memory.h
null
null
null
null
null
null
C
2026-05-04T18:23:12.989900
#include <stddef.h> #ifdef __cplusplus extern "C" { #endif void *af_tracked_malloc(size_t size); void *af_tracked_realloc(void *p, size_t size); void af_tracked_free(void *p); void *af_malloc(size_t size); void *af_realloc(void *p, size_t size); void af_free(void *p); void af_debug(const c...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pico_vector/alright-fonts.h
null
null
null
null
null
null
C
2026-05-04T18:23:12.991382
/* Alright Fonts 🖍 - a font format for embedded and low resource platforms. Jonathan Williamson, August 2022 Examples, source, and more: https://github.com/lowfatcode/pretty-poly MIT License https://github.com/lowfatcode/pretty-poly/blob/main/LICENSE An easy way to render high quality text in embedded app...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pico_vector/pretty-poly.h
null
null
null
null
null
null
C
2026-05-04T18:23:13.239127
/* Pretty Poly 🦜 - super-sampling polygon renderer for low resource platforms. Jonathan Williamson, August 2022 Examples, source, and more: https://github.com/lowfatcode/pretty-poly MIT License https://github.com/lowfatcode/pretty-poly/blob/main/LICENSE An easy way to render high quality graphics in embed...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/adler32.c
null
null
null
null
null
null
C
2026-05-04T18:23:13.616086
/* adler32.c -- compute the Adler-32 checksum of a data stream * Copyright (C) 1995-2011, 2016 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ #include "zutil.h" local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2)); #define BASE 6552...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/inffast.h
null
null
null
null
null
null
C
2026-05-04T18:23:14.118048
/* inffast.h -- header to use inffast.c * Copyright (C) 1995-2003, 2010 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of the compression library and is subject to change. Appli...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/inffixed.h
null
null
null
null
null
null
C
2026-05-04T18:23:14.626236
/* inffixed.h -- table for decoding fixed codes * Generated automatically by makefixed(). */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of this library and is subject to change. Applications should only use zlib.h. */ static co...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/PNGdec.h
null
null
null
null
null
null
C
2026-05-04T18:23:14.740299
// // PNG Decoder // // written by Larry Bank // bitbank@pobox.com // Arduino port started 5/3/2021 // Original PNG code written 20+ years ago :) // The goal of this code is to decode PNG images on embedded systems // // Copyright 2021 BitBank Software, Inc. All Rights Reserved. // Licensed under the Apache License, Ve...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/inffast.c
null
null
null
null
null
null
C
2026-05-04T18:23:14.741397
/* inffast.c -- fast decoding * Copyright (C) 1995-2017 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ #include "zutil.h" #include "inftrees.h" #include "inflate.h" #include "inffast.h" #ifdef ASMINF # pragma message("Assembler code may have bugs -- use at your own risk") #...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/inflate.h
null
null
null
null
null
null
C
2026-05-04T18:23:14.835403
/* inflate.h -- internal inflate state definition * Copyright (C) 1995-2016 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of the compression library and is subject to change. A...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/crc32.c
null
null
null
null
null
null
C
2026-05-04T18:23:14.836837
/* crc32.c -- compute the CRC-32 of a data stream * Copyright (C) 1995-2006, 2010, 2011, 2012, 2016 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h * * Thanks to Rodney Brown <rbrown64@csc.com.au> for his contribution of faster * CRC methods: exclusive-oring 32 bits of data at a...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/infback.c
null
null
null
null
null
null
C
2026-05-04T18:23:14.855521
/* infback.c -- inflate using a call-back interface * Copyright (C) 1995-2016 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* This code is largely copied from inflate.c. Normally either infback.o or inflate.o would be linked into an application--not both. The interf...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/inflate.c
null
null
null
null
null
null
C
2026-05-04T18:23:14.873846
/* inflate.c -- zlib decompression * Copyright (C) 1995-2016 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* * Change history: * * 1.2.beta0 24 Nov 2002 * - First version -- complete rewrite of inflate to simplify code, avoid * creation of window when not needed, ...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/inftrees.h
null
null
null
null
null
null
C
2026-05-04T18:23:14.970376
/* inftrees.h -- header to use inftrees.c * Copyright (C) 1995-2005, 2010 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of the compression library and is subject to change. App...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/crc32.h
null
null
null
null
null
null
C
2026-05-04T18:23:14.989491
/* crc32.h -- tables for rapid CRC calculation * Generated automatically by crc32.c */ local const z_crc_t FAR crc_table[TBLS][256] = { { 0x00000000UL, 0x77073096UL, 0xee0e612cUL, 0x990951baUL, 0x076dc419UL, 0x706af48fUL, 0xe963a535UL, 0x9e6495a3UL, 0x0edb8832UL, 0x79dcb8a4UL, 0xe0d5e91eUL, 0x97d2d988U...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/zconf.h
null
null
null
null
null
null
C
2026-05-04T18:23:15.243513
/* zconf.h -- configuration of the zlib compression library * Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ #ifndef ZCONF_H #define ZCONF_H /* * If you *really* need a unique prefix for all types and library functi...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/zlib.h
null
null
null
null
null
null
C
2026-05-04T18:23:15.408833
/* zlib.h -- interface of the 'zlib' general purpose compression library version 1.2.11, January 15th, 2017 Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/zutil.c
null
null
null
null
null
null
C
2026-05-04T18:23:15.459170
/* zutil.c -- target dependent utility functions for the compression library * Copyright (C) 1995-2017 Jean-loup Gailly * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ #include "zutil.h" //#ifndef Z_SOLO //# include "gzguts.h" //#endif z_const char * const z_errmsg[10]...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/zutil.h
null
null
null
null
null
null
C
2026-05-04T18:23:15.488996
/* zutil.h -- internal interface and configuration of the compression library * Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of the comp...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
micropython/board/PICO_W_ENVIRO/mpconfigboard.h
null
null
null
null
null
null
C
2026-05-04T18:23:15.522075
// Board and hardware specific configuration #define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico W" // todo: We need something to check our binary size #define MICROPY_HW_FLASH_STORAGE_BYTES (848 * 1024) // Enable networking. #define MICROPY_PY_NETWORK 1 #define MICROPY_PY_NETWORK_HOSTNAME_DEF...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
micropython/board/PIMORONI_PICOLIPO_16MB/mpconfigboard.h
null
null
null
null
null
null
C
2026-05-04T18:23:15.552847
// https://shop.pimoroni.com/products/pimoroni-pico-lipo?variant=39335427080275 #define MICROPY_HW_BOARD_NAME "Pimoroni Pico LiPo 16MB" #define MICROPY_HW_FLASH_STORAGE_BYTES (15 * 1024 * 1024) #define MICROPY_HW_USB_VID (0x2E8A) #define MICROPY_HW_USB_PID (0x1003) #define MICROPY_HW_UART1_TX (8) #define M...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
micropython/board/PIMORONI_PICOLIPO_4MB/mpconfigboard.h
null
null
null
null
null
null
C
2026-05-04T18:23:15.553384
// https://shop.pimoroni.com/products/pimoroni-pico-lipo?variant=39386149093459 #define MICROPY_HW_BOARD_NAME "Pimoroni Pico LiPo 4MB" #define MICROPY_HW_FLASH_STORAGE_BYTES (3 * 1024 * 1024) #define MICROPY_HW_USB_VID (0x2E8A) #define MICROPY_HW_USB_PID (0x1002) #define MICROPY_HW_UART1_TX (8) #define MIC...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
micropython/board/PIMORONI_TINY2040/mpconfigboard.h
null
null
null
null
null
null
C
2026-05-04T18:23:15.612573
// https://shop.pimoroni.com/products/tiny-2040 #define MICROPY_HW_BOARD_NAME "Pimoroni Tiny 2040" #define MICROPY_HW_FLASH_STORAGE_BYTES (7 * 1024 * 1024) #define MICROPY_HW_USB_VID (0x16D0) #define MICROPY_HW_USB_PID (0x08C7) // I2C0 (non-default) #define MICROPY_HW_I2C0_SCL (4) #define MICROPY_HW_I2C0_S...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
micropython/board/PIMORONI_TUFTY2040/mpconfigboard.h
null
null
null
null
null
null
C
2026-05-04T18:23:15.642160
// https://shop.pimoroni.com/products/pimoroni-tufty-2040 #define MICROPY_HW_BOARD_NAME "Pimoroni Tufty 2040" #define MICROPY_HW_FLASH_STORAGE_BYTES (7 * 1024 * 1024) #define MICROPY_HW_USB_VID (0x2E8A) #define MICROPY_HW_USB_PID (0x1002) #define MICROPY_HW_UART1_TX (8) #define MICROPY_HW_UART1_RX (9) #de...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
micropython/board/PIMORONI_TUFTY2040/pimoroni_tufty2040.h
null
null
null
null
null
null
C
2026-05-04T18:23:16.351750
/* * Copyright (c) 2020 Raspberry Pi (Trading) Ltd. * * SPDX-License-Identifier: BSD-3-Clause */ // ----------------------------------------------------- // NOTE: THIS HEADER IS ALSO INCLUDED BY ASSEMBLER SO // SHOULD ONLY CONSIST OF PREPROCESSOR DIRECTIVES // ------------------------------------------------...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
micropython/board/RPI_PICO/mpconfigboard.h
null
null
null
null
null
null
C
2026-05-04T18:23:16.396482
// Board and hardware specific configuration #define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico" #define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
micropython/board/RPI_PICO_PPP/mpconfigboard.h
null
null
null
null
null
null
C
2026-05-04T18:23:16.450876
// Board and hardware specific configuration #define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico" #define MICROPY_HW_FLASH_STORAGE_BYTES (1024 * 1024) // Enable networking. #define MICROPY_PY_NETWORK 1 #define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "Pico" #define MICROPY_...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
micropython/board/RPI_PICO_W/mpconfigboard.h
null
null
null
null
null
null
C
2026-05-04T18:23:16.451370
// Board and hardware specific configuration #define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico W" // todo: We need something to check our binary size #define MICROPY_HW_FLASH_STORAGE_BYTES (848 * 1024) // Enable networking. #define MICROPY_PY_NETWORK 1 #define MICROPY_PY_NETWORK_HOSTNAME_DEF...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
micropython/board/RPI_PICO_USB/mpconfigboard.h
null
null
null
null
null
null
C
2026-05-04T18:23:16.480402
// Board and hardware specific configuration #define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico" #define MICROPY_HW_FLASH_STORAGE_BYTES (1024 * 1024) #define MICROPY_HW_ENABLE_USB_RUNTIME_DEVICE 1
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
micropython/modules/adcfft/adcfft.h
null
null
null
null
null
null
C
2026-05-04T18:23:16.564881
// Include MicroPython API. #include "py/runtime.h" /***** Constants *****/ /***** Extern of Class Definition *****/ extern const mp_obj_type_t adcfft_type; /***** Extern of Class Methods *****/ extern mp_obj_t adcfft_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args); extern m...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
micropython/modules/adcfft/adcfft.c
null
null
null
null
null
null
C
2026-05-04T18:23:16.565489
#include "adcfft.h" // Class MP_DEFINE_CONST_FUN_OBJ_1(adcfft_update_obj, adcfft_update); MP_DEFINE_CONST_FUN_OBJ_3(adcfft_get_scaled_obj, adcfft_get_scaled); MP_DEFINE_CONST_FUN_OBJ_1(adcfft__del__obj, adcfft__del__); static const mp_rom_map_elem_t adcfft_locals_dict_table[] = { { MP_ROM_QSTR(MP_QSTR___del__), M...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
micropython/modules/badger2040/badger2040.c
null
null
null
null
null
null
C
2026-05-04T18:23:16.590158
#include "badger2040.h" /***** Methods *****/ MP_DEFINE_CONST_FUN_OBJ_1(Badger2040___del___obj, Badger2040___del__); MP_DEFINE_CONST_FUN_OBJ_2(Badger2040_update_speed_obj, Badger2040_update_speed); MP_DEFINE_CONST_FUN_OBJ_1(Badger2040_is_busy_obj, Badger2040_is_busy); MP_DEFINE_CONST_FUN_OBJ_1(Badger2040_update_obj,...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
libraries/pngdec/inftrees.c
null
null
null
null
null
null
C
2026-05-04T18:23:19.817182
/* inftrees.c -- generate Huffman trees for efficient decoding * Copyright (C) 1995-2017 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ #include "zutil.h" #include "inftrees.h" #define MAXBITS 15 const char inflate_copyright[] = " inflate 1.2.11 Copyright 1995-2017 Mark ...
pimoroni/pimoroni-pico
https://github.com/pimoroni/pimoroni-pico
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
micropython/modules/badger2040/badger2040.h
null
null
null
null
null
null
C
2026-05-04T18:23:22.595108
// Include MicroPython API. #include "py/runtime.h" #include "py/objstr.h" /***** Extern of Class Definition *****/ extern const mp_obj_type_t Badger2040_type; /***** Extern of Class Methods *****/ extern mp_obj_t Badger2040___del__(mp_obj_t self_in); extern mp_obj_t Badger2040_make_new(const mp_obj_type_t *type, siz...
solusipse/fiche
https://github.com/solusipse/fiche
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
main.c
null
null
null
null
null
null
C
2026-05-04T18:23:24.971420
/* Fiche - Command line pastebin for sharing terminal output. ------------------------------------------------------------------------------- License: MIT (http://www.opensource.org/licenses/mit-license.php) Repository: https://github.com/solusipse/fiche/ Live example: http://termbin.com ----------------------------...
solusipse/fiche
https://github.com/solusipse/fiche
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
fiche.h
null
null
null
null
null
null
C
2026-05-04T18:23:24.974549
/* Fiche - Command line pastebin for sharing terminal output. ------------------------------------------------------------------------------- License: MIT (http://www.opensource.org/licenses/mit-license.php) Repository: https://github.com/solusipse/fiche/ Live example: http://termbin.com ----------------------------...
solusipse/fiche
https://github.com/solusipse/fiche
null
null
null
null
1,541
null
null
mit
null
null
null
null
null
null
null
fiche.c
null
null
null
null
null
null
C
2026-05-04T18:23:24.980902
/* Fiche - Command line pastebin for sharing terminal output. ------------------------------------------------------------------------------- License: MIT (http://www.opensource.org/licenses/mit-license.php) Repository: https://github.com/solusipse/fiche/ Live example: http://termbin.com ----------------------------...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/buffers.h
null
null
null
null
null
null
C
2026-05-04T18:23:28.009220
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef PK_BUFFERS_TEMPLATE_H #define PK_BUFFERS_TEMPLATE_H #ifndef PK_AMALGAMATED #include "internal.h" #endif // The macro 'DECLARE_BUFFER()' emulate the C++ template to decla...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/compiler.h
null
null
null
null
null
null
C
2026-05-04T18:23:28.014891
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef PK_COMPILER_H #define PK_COMPILER_H #ifndef PK_AMALGAMATED #include "value.h" #endif typedef enum { #define OPCODE(name, _, __) OP_##name, #include "opcodes.h" //<<...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/debug.h
null
null
null
null
null
null
C
2026-05-04T18:23:28.024655
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef PK_DEBUG_H #define PK_DEBUG_H #ifndef PK_AMALGAMATED #include "internal.h" #include "value.h" #endif // Pretty print compile time error. void reportCompileTimeError(PKVM...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
cli/main.c
null
null
null
null
null
null
C
2026-05-04T18:23:28.026730
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #include <pocketlang.h> #include <stdio.h> // FIXME: Everything below here is temporary and for testing. #if defined(__GNUC__) #pragma GCC diagnostic ignored "-Wint-to-pointer...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/core.h
null
null
null
null
null
null
C
2026-05-04T18:23:28.028028
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef PK_CORE_H #define PK_CORE_H #ifndef PK_AMALGAMATED #include "internal.h" #include "value.h" #endif // Literal strings used in various places in pocketlang. For now these...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/common.h
null
null
null
null
null
null
C
2026-05-04T18:23:28.029309
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ // A collection of reusable macros that pocketlang use. This file doesn't have // any dependencies, you can just drag and drop this file in your project if // you want to use thes...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/debug.c
null
null
null
null
null
null
C
2026-05-04T18:23:28.047162
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #include <stdio.h> #ifndef PK_AMALGAMATED #include "debug.h" #include "vm.h" #endif // FIXME: // Refactor this. Maybe move to a module, Rgb values are hardcoded ?! // Should che...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
cli/argparse.h
null
null
null
null
null
null
C
2026-05-04T18:23:28.059015
/* * The MIT License (MIT) * * Copyright (c) 2012-2013 Yecheng Fu <cofyc.jackson@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitatio...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
docs/wasm/main.c
null
null
null
null
null
null
C
2026-05-04T18:23:28.059518
/* * Copyright (c) 2021 Thakee Nathees * Licensed under: MIT License */ #include <emscripten.h> #include <pocketlang.h> #include <string.h> // IO api functions. extern void js_errorPrint(const char* message); extern void js_writeFunction(const char* message); void stdoutWrite(PKVM* vm, const char* message) { ...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/core.c
null
null
null
null
null
null
C
2026-05-04T18:23:28.088294
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #include <ctype.h> #include <limits.h> #include <math.h> #ifndef PK_AMALGAMATED #include "core.h" #include "debug.h" #include "utils.h" #include "vm.h" #endif // A convenient ma...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/vm.h
null
null
null
null
null
null
C
2026-05-04T18:23:28.806711
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef PK_VM_H #define PK_VM_H #ifndef PK_AMALGAMATED #include "compiler.h" #include "core.h" #endif // The maximum number of temporary object reference to protect them from be...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/include/pocketlang.h
null
null
null
null
null
null
C
2026-05-04T18:23:28.923587
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef POCKETLANG_H #define POCKETLANG_H #ifdef __cplusplus extern "C" { #endif #include <stdbool.h> #include <stdint.h> #include <stdlib.h> /*********************************...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/public.c
null
null
null
null
null
null
C
2026-05-04T18:23:29.238064
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ // This file contains all the pocketlang public function implementations. #include <math.h> #ifndef PK_AMALGAMATED #include <pocketlang.h> #include "core.h" #include "compiler.h...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/opcodes.h
null
null
null
null
null
null
C
2026-05-04T18:23:29.352847
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ // Opcodes X macro (http://en.wikipedia.org/wiki/X_Macro) should be included // in the source where it'll be used. Required to define the following... // // #define OPCODE(name, p...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/utils.c
null
null
null
null
null
null
C
2026-05-04T18:23:29.465066
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef PK_AMALGAMATED #include "utils.h" #endif #include <assert.h> #include <errno.h> #include <stdlib.h> #include <string.h> // Function implementation, see utils.h for descr...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/utils.h
null
null
null
null
null
null
C
2026-05-04T18:23:29.472854
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef PK_UTILS_H #define PK_UTILS_H #include <stdbool.h> #include <stdint.h> // Returns the smallest power of two that is equal to or greater than [n]. // Source : https://git...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/value.c
null
null
null
null
null
null
C
2026-05-04T18:23:29.473416
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #include <math.h> #include <ctype.h> #ifndef PK_AMALGAMATED #include "value.h" #include "utils.h" #include "vm.h" #endif // The maximum percentage of the map entries that can be...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/gen/ext_term.pk.h
null
null
null
null
null
null
C
2026-05-04T18:23:29.719833
unsigned char ext_term_pk[] = { 0x0d, 0x0a, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x20, 0x69, 0x6f, 0x0d, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x20, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x2c, 0x20, 0x73, 0x6c, 0x65, 0x65, 0x70, 0x0d, 0x0a, 0x66, 0x72, 0x6f...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/value.h
null
null
null
null
null
null
C
2026-05-04T18:23:29.733264
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef PK_VALUE_H #define PK_VALUE_H #ifndef PK_AMALGAMATED #include "buffers.h" #include "internal.h" #endif /** * A simple dynamic type system library for small dynamic type...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/vm.c
null
null
null
null
null
null
C
2026-05-04T18:23:29.741432
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #include <math.h> #ifndef PK_AMALGAMATED #include "vm.h" #include "utils.h" #include "debug.h" #endif PkHandle* vmNewHandle(PKVM* vm, Var value) { PkHandle* handle = (PkHandle...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/core/internal.h
null
null
null
null
null
null
C
2026-05-04T18:23:29.841337
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef PK_INTERNAL #define PK_INTERNAL #ifndef PK_AMALGAMATED #include <pocketlang.h> #include "common.h" #endif // Commonly used C standard headers across the sources. Don't i...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/libs.c
null
null
null
null
null
null
C
2026-05-04T18:23:30.179811
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef PK_AMALGAMATED #include "libs.h" #endif // Standard libraries. void registerModuleMath(PKVM* vm); void registerModuleTypes(PKVM* vm); void registerModuleTime(PKVM* vm); ...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/libs.h
null
null
null
null
null
null
C
2026-05-04T18:23:30.181240
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef LIBS_H #define LIBS_H #ifndef PK_AMALGAMATED #include <pocketlang.h> #endif #include <errno.h> #include <stdio.h> #include <string.h> // FIXME: // Since this are part o...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/std_dummy.c
null
null
null
null
null
null
C
2026-05-04T18:23:30.370528
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef PK_AMALGAMATED #include "libs.h" #endif // A DUMMY MODULE TO TEST NATIVE INTERFACE AND CLASSES. typedef struct { double val; } Dummy; void* _newDummy(PKVM* vm) { Du...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/std_io.c
null
null
null
null
null
null
C
2026-05-04T18:23:30.371740
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #include <math.h> #ifndef PK_AMALGAMATED #include "libs.h" #include "../core/value.h" #endif DEF(_ioWrite, "io.write(stream:Var, bytes:String) -> Null", "Warning: the functi...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/std_json.c
null
null
null
null
null
null
C
2026-05-04T18:23:30.399384
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #include <math.h> #ifndef PK_AMALGAMATED #include "libs.h" #include "../core/vm.h" #endif #include "thirdparty/cJSON/cJSON.h" //<< AMALG_INLINE >> #include "thirdparty/cJSON/cJS...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/std_time.c
null
null
null
null
null
null
C
2026-05-04T18:23:30.821205
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #include <time.h> #ifndef PK_AMALGAMATED #include "libs.h" #endif #ifdef _WIN32 #include <windows.h> #endif #if !defined(_MSC_VER) && !(defined(_WIN32) && defined(__TINYC__))...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/thirdparty/cJSON/cJSON.c
null
null
null
null
null
null
C
2026-05-04T18:23:30.895285
/* Copyright (c) 2009-2017 Dave Gamble and cJSON contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, m...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/std_types.c
null
null
null
null
null
null
C
2026-05-04T18:23:30.897644
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #include <math.h> #ifndef PK_AMALGAMATED #include "libs.h" #include "../core/value.h" #include "../core/vm.h" #endif DEF(_typesHashable, "types.hashable(value:Var) -> Bool", ...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/thirdparty/cwalk/cwalk.c
null
null
null
null
null
null
C
2026-05-04T18:23:31.012466
#include <assert.h> #include <ctype.h> // -- pocketlang start -- #ifndef PK_AMALGAMATED #include "cwalk.h" //<< AMALG_IGNORE >> #endif // -- pocketlang end -- #include <stdarg.h> #include <stdio.h> #include <string.h> /** * We try to default to a different path style depending on the operating * system. So this shou...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/thirdparty/cwalk/cwalk.h
null
null
null
null
null
null
C
2026-05-04T18:23:31.029673
#pragma once #ifndef CWK_LIBRARY_H #define CWK_LIBRARY_H #include <stdbool.h> #include <stddef.h> #if defined(_WIN32) || defined(__CYGWIN__) #define CWK_EXPORT __declspec(dllexport) #define CWK_IMPORT __declspec(dllimport) #elif __GNUC__ >= 4 #define CWK_EXPORT __attribute__((visibility("default"))) #define CWK_IMPO...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/thirdparty/cJSON/cJSON.h
null
null
null
null
null
null
C
2026-05-04T18:23:31.065305
/* Copyright (c) 2009-2017 Dave Gamble and cJSON contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, m...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/thirdparty/term/term.h
null
null
null
null
null
null
C
2026-05-04T18:23:31.499530
/*****************************************************************************/ /* PUBLIC API */ /*****************************************************************************/ /* * Note that at this point *nix stdout are buffered and windows aren't. * ...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
tests/native/dl/mylib.c
null
null
null
null
null
null
C
2026-05-04T18:23:31.522747
#include <pocketlang.h> PK_EXPORT void hello(PKVM* vm) { pkSetSlotString(vm, 0, "hello from dynamic lib."); } PK_EXPORT PkHandle* pkExportModule(PKVM* vm) { PkHandle* mylib = pkNewModule(vm, "mylib"); pkModuleAddFunction(vm, mylib, "hello", hello, 0); return mylib; }
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/thirdparty/dirent/dirent.h
null
null
null
null
null
null
C
2026-05-04T18:23:31.523414
/* * Dirent interface for Microsoft Visual Studio * * Copyright (C) 1998-2019 Toni Ronkko * This file is part of dirent. Dirent may be freely distributed * under the MIT license. For all details and documentation, see * https://github.com/tronkko/dirent */ #ifndef DIRENT_H #define DIRENT_H /* Hide warnings ab...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
tests/native/example1.c
null
null
null
null
null
null
C
2026-05-04T18:23:31.949865
/* * Copyright (c) 2020-2021 Thakee Nathees * Distributed Under The MIT License */ // This is a minimal example on how to pass values between pocket VM and C. #include <pocketlang.h> // The pocket script we're using to test. static const char* code = " from my_module import cFunction \n" " a = 42 ...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
tests/native/example0.c
null
null
null
null
null
null
C
2026-05-04T18:23:31.950438
/* * Copyright (c) 2020-2021 Thakee Nathees * Distributed Under The MIT License */ #include <pocketlang.h> int main(int argc, char** argv) { // Create a new pocket VM. PKVM* vm = pkNewVM(NULL); // Run a string. pkRunString(vm, "print('hello world')"); // Run from file. pkRunFile(vm, "script.pk...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
tests/native/example2.c
null
null
null
null
null
null
C
2026-05-04T18:23:32.391770
/* * Copyright (c) 2020-2021 Thakee Nathees * Distributed Under The MIT License */ // This is an example on how to write your own custom type (Vector here) and // bind it with with the pocket VM. #include <pocketlang.h> #include <stdlib.h> /* For malloc */ #include <string.h> /* For strncmp */ #include <math.h>...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/std_os.c
null
null
null
null
null
null
C
2026-05-04T18:23:36.263584
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #include <math.h> #ifndef PK_AMALGAMATED #include "libs.h" #endif #include <stdlib.h> #include <sys/stat.h> #if defined(__EMSCRIPTEN__) #define _PKOS_WEB_ #define OS_NAME "...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/std_path.c
null
null
null
null
null
null
C
2026-05-04T18:23:36.393212
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef PK_AMALGAMATED #include "libs.h" #endif // FIXME: // In windows MinGw support most of the posix libraries. So we only need to // check if it's MSVC (and tcc in windows) o...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/std_math.c
null
null
null
null
null
null
C
2026-05-04T18:23:36.433796
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #include <math.h> #ifndef PK_AMALGAMATED #include "libs.h" #endif // M_PI is non standard. For a portable solution, we're defining it ourselves. #define PK_PI 3.1415926535897932...
ThakeeNathees/pocketlang
https://github.com/ThakeeNathees/pocketlang
null
null
null
null
1,540
null
null
mit
null
null
null
null
null
null
null
src/libs/std_term.c
null
null
null
null
null
null
C
2026-05-04T18:23:36.468875
/* * Copyright (c) 2020-2022 Thakee Nathees * Copyright (c) 2021-2022 Pocketlang Contributors * Distributed Under The MIT License */ #ifndef PK_AMALGAMATED #include "libs.h" #include "gen/ext_term.pk.h" //<< AMALG_INLINE >> #endif #ifdef _WIN32 #include <fcntl.h> #endif #define TERM_IMPLEMENT #include "third...
lh3/seqtk
https://github.com/lh3/seqtk
null
null
null
null
1,539
null
null
mit
null
null
null
null
null
null
null
khash.h
null
null
null
null
null
null
C
2026-05-04T18:23:38.717243
/* The MIT License Copyright (c) 2008, 2009, 2011 by Attractive Chaos <attractor@live.co.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without ...
lh3/seqtk
https://github.com/lh3/seqtk
null
null
null
null
1,539
null
null
mit
null
null
null
null
null
null
null
seqtk.c
null
null
null
null
null
null
C
2026-05-04T18:23:38.740758
/* The MIT License Copyright (c) 2018- Dana-Farber Cancer Institute 2008-2018 Broad Institute Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,...
lh3/seqtk
https://github.com/lh3/seqtk
null
null
null
null
1,539
null
null
mit
null
null
null
null
null
null
null
kseq.h
null
null
null
null
null
null
C
2026-05-04T18:23:38.743316
/* The MIT License Copyright (c) 2008, 2009, 2011 Attractive Chaos <attractor@live.co.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without lim...
JohnEarnest/Decker
https://github.com/JohnEarnest/Decker
null
null
null
null
1,529
null
null
mit
null
null
null
null
null
null
null
c/io_sdl1.h
null
null
null
null
null
null
C
2026-05-04T18:23:41.374711
// compatibility shim for SDL 1.2 // many features have reduced or missing functionality: // - Decker does not check the application base path for start.deck // - Decker cannot open URI as by go["http://..."] // - Decker cannot interact with the system clipboard; it instead uses an internal buffer // - Decker cannot r...
JohnEarnest/Decker
https://github.com/JohnEarnest/Decker
null
null
null
null
1,529
null
null
mit
null
null
null
null
null
null
null
c/io_sdl2.h
null
null
null
null
null
null
C
2026-05-04T18:23:41.384333
#include <SDL.h> SDL_Cursor*CURSORS[8]; // keyboard keys #define KEY_UP SDLK_UP #define KEY_DOWN SDLK_DOWN #define KEY_LEFT SDLK_LEFT #define KEY_RIGHT SDLK_RIGHT #define KEY_PAGEUP SDLK_PAGEUP #define KEY_PAGEDOWN SDLK_PAGEDOWN #define KEY_HOME SDLK_HOME #define K...
JohnEarnest/Decker
https://github.com/JohnEarnest/Decker
null
null
null
null
1,529
null
null
mit
null
null
null
null
null
null
null
c/lib/bestline.h
null
null
null
null
null
null
C
2026-05-04T18:23:41.384810
#pragma once typedef struct bestlineCompletions { unsigned long len; char **cvec; } bestlineCompletions; typedef void(bestlineCompletionCallback)(const char *, bestlineCompletions *); typedef char *(bestlineHintsCallback)(const char *, const char **, const char **); typedef ...
JohnEarnest/Decker
https://github.com/JohnEarnest/Decker
null
null
null
null
1,529
null
null
mit
null
null
null
null
null
null
null
c/lilt.c
null
null
null
null
null
null
C
2026-05-04T18:23:41.424517
// Lil Terminal #include "lil.h" #include "dom.h" #ifndef __COSMOPOLITAN__ #include <sys/wait.h> #include <unistd.h> #endif #include "lib/bestline.h" #include "lib/bestline.c" lv*n_exit(lv*self,lv*a){(void)self;exit(ln(l_first(a)));} lv*n_input(lv*self,lv*a){ (void)self;char*line=bestline(drom_to_utf8(a->c<2?ls(l_fi...
JohnEarnest/Decker
https://github.com/JohnEarnest/Decker
null
null
null
null
1,529
null
null
mit
null
null
null
null
null
null
null
c/lil.h
null
null
null
null
null
null
C
2026-05-04T18:23:41.448864
// Learning in Layers #ifndef __COSMOPOLITAN__ #include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <math.h> #include <string.h> #include <ctype.h> #include <time.h> #endif typedef struct{int c,size;char*sv;}str; typedef struct lvs{int t,c,n,s,ns,g;double nv;char*sv;struct lvs**lv,**kv,*a,*b,*env;void*f...
sepfy/libpeer
https://github.com/sepfy/libpeer
null
null
null
null
1,502
null
null
mit
null
null
null
null
null
null
null
examples/generic/reader.c
null
null
null
null
null
null
C
2026-05-04T18:23:43.594940
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/time.h> static int g_video_size = 0; static int g_audio_size = 0; static uint8_t* g_video_buf = NULL; static uint8_t* g_audio_buf = NULL; static uint8_t* g_pps_buf = NULL; static uint8_t* g_sps_buf = NULL; static const uint32_...
sepfy/libpeer
https://github.com/sepfy/libpeer
null
null
null
null
1,502
null
null
mit
null
null
null
null
null
null
null
examples/generic/main.c
null
null
null
null
null
null
C
2026-05-04T18:23:43.595900
#include <pthread.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/time.h> #include <unistd.h> #include "peer.h" #include "reader.h" int g_interrupted = 0; PeerConnection* g_pc = NULL; PeerConnectionState g_state; static void onconnectionstatechange(PeerConnectionState state, void* data) {...
sepfy/libpeer
https://github.com/sepfy/libpeer
null
null
null
null
1,502
null
null
mit
null
null
null
null
null
null
null
examples/pico/main.c
null
null
null
null
null
null
C
2026-05-04T18:23:43.604608
/** * Copyright (c) 2022 Raspberry Pi (Trading) Ltd. * * SPDX-License-Identifier: BSD-3-Clause */ #include "FreeRTOS.h" #include "hardware/clocks.h" #include "pico/cyw43_arch.h" #include "pico/multicore.h" #include "pico/stdlib.h" #include "task.h" #include "hardware/dma.h" #include "pcm-g711/pcm-g711/g711.h" #i...
sepfy/libpeer
https://github.com/sepfy/libpeer
null
null
null
null
1,502
null
null
mit
null
null
null
null
null
null
null
examples/pico/lwipopts.h
null
null
null
null
null
null
C
2026-05-04T18:23:43.613888
#ifndef LWIPOPTS_H #define LWIPOPTS_H #define NO_SYS 0 #define LWIP_SOCKET 1 #if PICO_CYW43_ARCH_POLL #define MEM_LIBC_MALLOC 1 #else // MEM_LIBC_MALLOC is incompatible with non polling versions #define MEM_LIBC_MALLOC 0 #endif #define MEM_ALIGNMENT 4 #define MEM_SIZE 4000 #define MEMP_NUM_TCP_SEG 32 #define MEMP_NUM_...
sepfy/libpeer
https://github.com/sepfy/libpeer
null
null
null
null
1,502
null
null
mit
null
null
null
null
null
null
null
examples/esp32/main/app_main.c
null
null
null
null
null
null
C
2026-05-04T18:23:43.637770
#include <stddef.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <sys/param.h> #include <sys/time.h> #include "esp_event.h" #include "esp_log.h" #include "esp_mac.h" #include "esp_netif.h" #include "esp_ota_ops.h" #include "esp_partition.h" #include "esp_system.h" #include "esp_tls.h" #include "f...
sepfy/libpeer
https://github.com/sepfy/libpeer
null
null
null
null
1,502
null
null
mit
null
null
null
null
null
null
null
examples/pico/config.h
null
null
null
null
null
null
C
2026-05-04T18:23:43.638543
/* clang-format off */ /* Define to the full name and version of this package. */ #define PACKAGE_VERSION "2.3.0" /* Define to the version of this package. */ #define PACKAGE_STRING "pico 2.3.0" /* Define to enabled debug logging for all mudules. */ /* #undef ENABLE_DEBUG_LOGGING */ /* Logging statments will be wri...
sepfy/libpeer
https://github.com/sepfy/libpeer
null
null
null
null
1,502
null
null
mit
null
null
null
null
null
null
null
examples/esp32/main/audio.c
null
null
null
null
null
null
C
2026-05-04T18:23:43.640195
#include "driver/i2s_pdm.h" #include "esp_log.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_audio_enc.h" #include "esp_audio_enc_default.h" #include "esp_audio_enc_reg.h" #include "esp_g711_enc.h" #include "peer_connection.h" #define I2S_CLK_GPIO 42 #define I2S_DATA_GPIO 41 static const...
sepfy/libpeer
https://github.com/sepfy/libpeer
null
null
null
null
1,502
null
null
mit
null
null
null
null
null
null
null
examples/pico/FreeRTOSConfig.h
null
null
null
null
null
null
C
2026-05-04T18:23:43.641608
#ifndef FREERTOS_CONFIG_H #define FREERTOS_CONFIG_H /* Scheduler Related */ #define configUSE_PREEMPTION 1 #define configUSE_TICKLESS_IDLE 0 #define configUSE_IDLE_HOOK 0 #define configUSE_TICK_HOOK 0 #define configTICK_RATE_HZ ((TickType_t)1000) #define configMAX_PRIORITIES 32 #define configMINIMAL_STACK_SIZE (config...
sepfy/libpeer
https://github.com/sepfy/libpeer
null
null
null
null
1,502
null
null
mit
null
null
null
null
null
null
null
examples/esp32/main/camera.c
null
null
null
null
null
null
C
2026-05-04T18:23:43.658986
#include <stddef.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include "esp_log.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_camera.h" #include "esp_timer.h" #include "peer_connection.h" extern PeerConnection* g_pc; extern int gDataChannelOpened; extern PeerConnectionSt...
sepfy/libpeer
https://github.com/sepfy/libpeer
null
null
null
null
1,502
null
null
mit
null
null
null
null
null
null
null
examples/generic/reader.h
null
null
null
null
null
null
C
2026-05-04T18:23:43.688393
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> int reader_init(); uint8_t* reader_get_video_frame(int* size); uint8_t* reader_get_audio_frame(int* size); void reader_deinit();