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
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
demo/stream/platform/windows/server.c
null
null
null
null
null
null
C
2026-05-04T18:27:23.408375
// Copyright 2020 Hugo Lindström <hugolm84@gmail.com> // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licenses/MIT. #inc...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
demo/rest/server.c
null
null
null
null
null
null
C
2026-05-04T18:27:23.411745
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/aio.c
null
null
null
null
null
null
C
2026-05-04T18:27:24.026704
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
include/nng/http.h
null
null
null
null
null
null
C
2026-05-04T18:27:24.041332
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // Copyright 2020 Dirac Research <robert.bielik@dirac.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // ...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/args_test.c
null
null
null
null
null
null
C
2026-05-04T18:27:24.046540
// // Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
include/nng/args.h
null
null
null
null
null
null
C
2026-05-04T18:27:24.048023
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/aio.h
null
null
null
null
null
null
C
2026-05-04T18:27:24.051581
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
include/nng/nng.h
null
null
null
null
null
null
C
2026-05-04T18:27:24.079204
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/defs.h
null
null
null
null
null
null
C
2026-05-04T18:27:24.092346
// // Copyright 2026 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitoar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license ma...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/buf_size_test.c
null
null
null
null
null
null
C
2026-05-04T18:27:24.093485
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/aio_test.c
null
null
null
null
null
null
C
2026-05-04T18:27:24.095176
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/device.c
null
null
null
null
null
null
C
2026-05-04T18:27:24.145453
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.com> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may ...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/device.h
null
null
null
null
null
null
C
2026-05-04T18:27:24.652327
// // Copyright 2021 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licens...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/file.c
null
null
null
null
null
null
C
2026-05-04T18:27:24.698056
// // Copyright 2018 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/dialer.c
null
null
null
null
null
null
C
2026-05-04T18:27:24.714345
// // Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // Copyright 2018 Devolutions <info@devolutions.net> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file w...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/file.h
null
null
null
null
null
null
C
2026-05-04T18:27:24.716080
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/errors_test.c
null
null
null
null
null
null
C
2026-05-04T18:27:24.725515
// // Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licens...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/id_test.c
null
null
null
null
null
null
C
2026-05-04T18:27:24.734180
// // Copyright 2023 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licens...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/dialer.h
null
null
null
null
null
null
C
2026-05-04T18:27:24.734738
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // Copyright 2018 Devolutions <info@devolutions.net> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file w...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/idhash.c
null
null
null
null
null
null
C
2026-05-04T18:27:24.764551
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/idhash.h
null
null
null
null
null
null
C
2026-05-04T18:27:24.771689
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/idhash_test.c
null
null
null
null
null
null
C
2026-05-04T18:27:24.776602
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licens...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/init.c
null
null
null
null
null
null
C
2026-05-04T18:27:25.276623
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/init_test.c
null
null
null
null
null
null
C
2026-05-04T18:27:25.303580
// // Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licens...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/list.c
null
null
null
null
null
null
C
2026-05-04T18:27:25.352279
// // Copyright 2017 Capitar IT Group BV <info@capitar.com> // Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/init.h
null
null
null
null
null
null
C
2026-05-04T18:27:25.352913
// // Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2017 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/list.h
null
null
null
null
null
null
C
2026-05-04T18:27:25.390830
// // Copyright 2025 Garrett D'Amore <garrett@damore.org> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licenses/MIT....
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/list_test.c
null
null
null
null
null
null
C
2026-05-04T18:27:25.405297
// // Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licens...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/listener.c
null
null
null
null
null
null
C
2026-05-04T18:27:25.406342
// // Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // Copyright 2018 Devolutions <info@devolutions.net> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file w...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/listener.h
null
null
null
null
null
null
C
2026-05-04T18:27:25.416822
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // Copyright 2018 Devolutions <info@devolutions.net> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file w...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/lmq.c
null
null
null
null
null
null
C
2026-05-04T18:27:25.417880
// // Copyright 2021 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licens...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/lmq.h
null
null
null
null
null
null
C
2026-05-04T18:27:25.435213
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licens...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/log.c
null
null
null
null
null
null
C
2026-05-04T18:27:25.927241
// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licenses...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/log_test.c
null
null
null
null
null
null
C
2026-05-04T18:27:25.996419
// // Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licens...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/message.h
null
null
null
null
null
null
C
2026-05-04T18:27:25.999756
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2017 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/message.c
null
null
null
null
null
null
C
2026-05-04T18:27:26.023841
// // Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/message_test.c
null
null
null
null
null
null
C
2026-05-04T18:27:26.048788
// // Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/msgqueue.c
null
null
null
null
null
null
C
2026-05-04T18:27:26.067151
// // Copyright 2021 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/options.c
null
null
null
null
null
null
C
2026-05-04T18:27:26.092704
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // Copyright 2018 Devolutions <info@devolutions.net> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file w...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/options.h
null
null
null
null
null
null
C
2026-05-04T18:27:26.093207
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // Copyright 2018 Devolutions <info@devolutions.net> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file w...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/msgqueue.h
null
null
null
null
null
null
C
2026-05-04T18:27:26.110705
// // Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
nanomsg/nng
https://github.com/nanomsg/nng
null
null
null
null
4,576
null
null
mit
null
null
null
null
null
null
null
src/core/nng_impl.h
null
null
null
null
null
null
C
2026-05-04T18:27:26.163172
// // Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2017 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
binding/GravityObjC/ObjC/gravity_objc.h
null
null
null
null
null
null
C
2026-05-04T18:27:29.278942
// // gravity_objc.h // GravityObjC // // Created by Marco Bambini on 07/02/21. // #import <Foundation/Foundation.h> #import "gravity_vm.h" // dynamic bridge void objc_register (gravity_vm *vm);
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/cli/gravity.c
null
null
null
null
null
null
C
2026-05-04T18:27:29.280135
// // compiler_test.c // gravity // // Created by Marco Bambini on 24/03/16. // Copyright © 2016 CreoLabs. All rights reserved. // #include "gravity_compiler.h" #define GRAVITY_INCLUDE_MATH #define GRAVITY_INCLUDE_JSON #define GRAVITY_INCLUDE_ENV #define GRAVITY_INCLUDE_FILE #include "gravity_optionals.h" #include...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
binding/shared/console.h
null
null
null
null
null
null
C
2026-05-04T18:27:29.281339
// // console.h // gravity // // Created by Marco Bambini on 23/02/15. // Copyright (c) 2015 CreoLabs. All rights reserved. // #ifndef __GRAVITY_CONSOLE__ #define __GRAVITY_CONSOLE__ #include <stdio.h> #include "gravity_memory.h" #include "gravity_delegate.h" const char *current_filepath (const char *base, const...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
binding/shared/console.c
null
null
null
null
null
null
C
2026-05-04T18:27:29.291195
// // console.c // gravity // // Created by Marco Bambini on 23/02/15. // Copyright (c) 2015 CreoLabs. All rights reserved. // #include "console.h" // MUST BE CALLED FROM main file const char *current_filepath (const char *base, const char *target_file) { // if it is an absolute path then return the path itsel...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
api/exec_gravity.c
null
null
null
null
null
null
C
2026-05-04T18:27:29.292241
// // Sample code to demonstrate how to execute Gravity code from C // Created by Marco Bambini on 06/03/2017. // #include <stdio.h> #include "gravity_compiler.h" #include "gravity_macros.h" #include "gravity_core.h" #include "gravity_vm.h" // gravity func source code static const char *source = "func add (a, b) {r...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
examples/example.c
null
null
null
null
null
null
C
2026-05-04T18:27:29.295727
#include "gravity_compiler.h" #include "gravity_macros.h" #include "gravity_core.h" #include "gravity_vm.h" #define SOURCE "func main() {var a = 10; var b=20; return a + b}" // error reporting callback called by both compiler or VM static void report_error (gravity_vm *vm, error_type_t error_type, ...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_ast.c
null
null
null
null
null
null
C
2026-05-04T18:27:29.296742
// // gravity_ast.c // gravity // // Created by Marco Bambini on 02/09/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #include <inttypes.h> #include "gravity_ast.h" #include "gravity_hash.h" #include "gravity_utils.h" #include "gravity_visitor.h" #include "gravity_symboltable.h" #define SETBASE(node,...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
api/exec_c.c
null
null
null
null
null
null
C
2026-05-04T18:27:29.305072
// // Sample code to demonstrate how to execute C code from Gravity // Created by Marco Bambini on 12/03/2017. // #include <stdio.h> #include <math.h> #include "gravity_compiler.h" #include "gravity_macros.h" #include "gravity_core.h" #include "gravity_vm.h" #define CLASS_NAME "Math" // gravity func source cod...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/debug_macros.h
null
null
null
null
null
null
C
2026-05-04T18:27:29.379836
// // debug_macros.h // gravity // // Created by Marco Bambini on 30/08/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_CMACROS__ #define __GRAVITY_CMACROS__ #include <stdio.h> #include <ctype.h> #include <fcntl.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include ...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_ircode.h
null
null
null
null
null
null
C
2026-05-04T18:27:29.936369
// // gravity_ircode.h // gravity // // Created by Marco Bambini on 06/11/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_IRCODE__ #define __GRAVITY_IRCODE__ // References: // https://www.usenix.org/legacy/events/vee05/full_papers/p153-yunhe.pdf // http://www.lua.org/doc/jucs05.pdf /...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_codegen.h
null
null
null
null
null
null
C
2026-05-04T18:27:29.956292
// // gravity_codegen.h // gravity // // Created by Marco Bambini on 09/10/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_CODEGEN__ #define __GRAVITY_CODEGEN__ #include "gravity_ast.h" #include "gravity_value.h" #include "gravity_delegate.h" gravity_function_t *gravity_codegen(gnod...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_ast.h
null
null
null
null
null
null
C
2026-05-04T18:27:29.977779
// // gravity_ast.h // gravity // // Created by Marco Bambini on 02/09/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_AST__ #define __GRAVITY_AST__ #include "debug_macros.h" #include "gravity_array.h" #include "gravity_token.h" /* AST can be uniform (the same data struct is use...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_compiler.h
null
null
null
null
null
null
C
2026-05-04T18:27:30.006762
// // gravity_compiler.h // gravity // // Created by Marco Bambini on 29/08/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_COMPILER__ #define __GRAVITY_COMPILER__ #include "gravity_delegate.h" #include "debug_macros.h" #include "gravity_utils.h" #include "gravity_value.h" #include "...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_compiler.c
null
null
null
null
null
null
C
2026-05-04T18:27:30.008527
// // gravity_compiler.c // gravity // // Created by Marco Bambini on 29/08/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #include "gravity_compiler.h" #include "gravity_parser.h" #include "gravity_token.h" #include "gravity_utils.h" #include "gravity_semacheck1.h" #include "gravity_semacheck2.h" #in...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_codegen.c
null
null
null
null
null
null
C
2026-05-04T18:27:30.009723
// // gravity_codegen.c // gravity // // Created by Marco Bambini on 09/10/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #include "gravity_codegen.h" #include "gravity_symboltable.h" #include "gravity_optimizer.h" #include "gravity_visitor.h" #include "gravity_ircode.h" #include "gravity_utils.h" #in...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_lexer.c
null
null
null
null
null
null
C
2026-05-04T18:27:30.022858
// // gravity_lexer.c // gravity // // Created by Marco Bambini on 30/08/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // // ASCII Table: http://www.theasciicode.com.ar #include "gravity_lexer.h" #include "gravity_token.h" #include "gravity_utils.h" struct gravity_lexer_t { const char ...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_optimizer.c
null
null
null
null
null
null
C
2026-05-04T18:27:30.024535
// // gravity_optimizer.c // gravity // // Created by Marco Bambini on 24/09/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // // Some optimizations taken from: http://www.compileroptimizations.com/ #include "gravity_hash.h" #include "gravity_optimizer.h" #include "gravity_opcodes.h" #include "gravity_i...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_lexer.h
null
null
null
null
null
null
C
2026-05-04T18:27:30.049141
// // gravity_lexer.h // gravity // // Created by Marco Bambini on 30/08/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_LEXER__ #define __GRAVITY_LEXER__ #include "gravity_delegate.h" #include "gravity_token.h" #include "debug_macros.h" /* Lexer is built in such a way that no m...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_ircode.c
null
null
null
null
null
null
C
2026-05-04T18:27:30.050343
// // gravity_ircode.c // gravity // // Created by Marco Bambini on 06/11/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #include "gravity_ircode.h" #include "gravity_value.h" #include "gravity_debug.h" #include <inttypes.h> // Register bitmask helpers (256 registers packed into 32 bytes) #define REG...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_optimizer.h
null
null
null
null
null
null
C
2026-05-04T18:27:31.032433
// // gravity_optimizer.h // gravity // // Created by Marco Bambini on 24/09/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_OPTIMIZER__ #define __GRAVITY_OPTIMIZER__ #include "gravity_macros.h" #include "gravity_value.h" gravity_function_t *gravity_optimizer(gravity_function_t *f, ...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_symboltable.h
null
null
null
null
null
null
C
2026-05-04T18:27:31.035937
// // gravity_symboltable.h // gravity // // Created by Marco Bambini on 12/09/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_SYMTABLE__ #define __GRAVITY_SYMTABLE__ #include "debug_macros.h" #include "gravity_ast.h" #ifndef GRAVITY_SYMBOLTABLE_DEFINED #define GRAVITY_SYMBOLTABLE_D...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_semacheck2.h
null
null
null
null
null
null
C
2026-05-04T18:27:31.037058
// // gravity_semacheck2.h // gravity // // Created by Marco Bambini on 12/09/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_SEMACHECK2__ #define __GRAVITY_SEMACHECK2__ #include "gravity_ast.h" #include "gravity_delegate.h" // Responsible to gather and check local identifiers // Co...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_symboltable.c
null
null
null
null
null
null
C
2026-05-04T18:27:31.038533
// // gravity_symboltable.c // gravity // // Created by Marco Bambini on 12/09/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #include "gravity_symboltable.h" #include "gravity_macros.h" #include "gravity_array.h" #include "gravity_hash.h" // symbol table implementation using a stack of hash tables t...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_semacheck1.c
null
null
null
null
null
null
C
2026-05-04T18:27:31.052746
// // gravity_semacheck1.c // gravity // // Created by Marco Bambini on 08/10/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #include "gravity_symboltable.h" #include "gravity_semacheck1.h" #include "gravity_compiler.h" #include "gravity_visitor.h" #define REPORT_ERROR(node,...) {report_erro...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_semacheck1.h
null
null
null
null
null
null
C
2026-05-04T18:27:31.062324
// // semacheck1.h // gravity // // Created by Marco Bambini on 08/10/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_SEMACHECK1__ #define __GRAVITY_SEMACHECK1__ // Semantic check step 1 does not have the notion of context and scope. // It just gathers non-local names into a symbol t...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_semacheck2.c
null
null
null
null
null
null
C
2026-05-04T18:27:31.070874
// // gravity_semacheck2.c // gravity // // Created by Marco Bambini on 12/09/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #include "gravity_symboltable.h" #include "gravity_semacheck2.h" #include "gravity_compiler.h" #include "gravity_visitor.h" #include "gravity_core.h" struct semacheck_t { g...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_parser.h
null
null
null
null
null
null
C
2026-05-04T18:27:31.103639
// // gravity_parser.h // gravity // // Created by Marco Bambini on 01/09/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_PARSER__ #define __GRAVITY_PARSER__ #include "gravity_compiler.h" #include "debug_macros.h" #include "gravity_ast.h" /* Parser is responsible to build the AS...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_token.c
null
null
null
null
null
null
C
2026-05-04T18:27:31.218639
// // gravity_token.c // gravity // // Created by Marco Bambini on 31/08/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #include "gravity_token.h" #include "gravity_utils.h" const char *token_string (gtoken_s token, uint32_t *len) { if (len) *len = token.bytes; return token.value; } const ch...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/optionals/gravity_opt_file.h
null
null
null
null
null
null
C
2026-05-04T18:27:31.713571
// // gravity_opt_file.h // gravity // // Created by Marco Bambini on 15/11/2020. // Copyright © 2020 Creolabs. All rights reserved. // #ifndef __GRAVITY_FILE__ #define __GRAVITY_FILE__ #define GRAVITY_CLASS_FILE_NAME "File" #include "gravity_value.h" void gravity_file_register (gravity_vm *vm); voi...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_token.h
null
null
null
null
null
null
C
2026-05-04T18:27:31.729255
// // gravity_token.h // gravity // // Created by Marco Bambini on 31/08/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_TOKEN__ #define __GRAVITY_TOKEN__ #include <stdint.h> #include "debug_macros.h" // ================ // PREFIX OPERATORS // ================ // + ...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/optionals/gravity_opt_json.c
null
null
null
null
null
null
C
2026-05-04T18:27:31.729923
// // gravity_opt_json.c // gravity // // Created by Marco Bambini on 20/08/2019. // Copyright © 2019 CreoLabs. All rights reserved. // #include <inttypes.h> #include "gravity_vm.h" #include "gravity_core.h" #include "gravity_hash.h" #include "gravity_json.h" #include "gravity_utils.h" #include "gravity_macros.h" ...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/optionals/gravity_opt_file.c
null
null
null
null
null
null
C
2026-05-04T18:27:31.737255
// // gravity_opt_file.c // gravity // // Created by Marco Bambini on 15/11/2020. // Copyright © 2020 Creolabs. All rights reserved. // #include "gravity_vm.h" #include "gravity_core.h" #include "gravity_hash.h" #include "gravity_utils.h" #include "gravity_macros.h" #include "gravity_vmmacros.h" #include "gravity_...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/optionals/gravity_opt_env.c
null
null
null
null
null
null
C
2026-05-04T18:27:31.738664
/** * @file * This file provides the environment class (`ENV`). * It utilizes a couple of custom overloads to enhance usage and mimic the * usage within other scripting and programming languages. */ #include <stdlib.h> #include <string.h> #include "gravity_vm.h" #include "gravity_core.h" #include "gravity_hash....
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_visitor.h
null
null
null
null
null
null
C
2026-05-04T18:27:31.739586
// // gravity_visitor.h // gravity // // Created by Marco Bambini on 08/09/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_VISITOR__ #define __GRAVITY_VISITOR__ #include "gravity_ast.h" #define visit(node) gvisit(self, node) typedef struct gvisitor { uint32_t nerr; ...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/compiler/gravity_visitor.c
null
null
null
null
null
null
C
2026-05-04T18:27:31.766963
// // gravity_visitor.c // gravity // // Created by Marco Bambini on 08/09/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #include "gravity_visitor.h" // Visit a node invoking the associated callback. #define VISIT(type) if (!self->visit_##type) return; \ self->visit_##ty...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/optionals/gravity_opt_json.h
null
null
null
null
null
null
C
2026-05-04T18:27:31.792939
// // gravity_opt_json.h // gravity // // Created by Marco Bambini on 20/08/2019. // Copyright © 2019 CreoLabs. All rights reserved. // #ifndef __GRAVITY_JSON__ #define __GRAVITY_JSON__ #define GRAVITY_CLASS_JSON_NAME "JSON" #include "gravity_value.h" void gravity_json_register (gravity_vm *vm); void gr...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/optionals/gravity_opt_env.h
null
null
null
null
null
null
C
2026-05-04T18:27:31.827370
#ifndef GRAVITY_ENV_H #define GRAVITY_ENV_H #define GRAVITY_CLASS_ENV_NAME "ENV" #include "gravity_value.h" void gravity_env_register (gravity_vm *vm); void gravity_env_register_args(gravity_vm *vm, uint32_t _argc, const char **_argv); void gravity_env_free (void); bool gravity_isenv_class (gravity_class_t *c); cons...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/optionals/gravity_opt_math.c
null
null
null
null
null
null
C
2026-05-04T18:27:31.842656
// // gravity_opt_math.c // gravity // // Created by Marco Bambini on 14/08/2017. // Copyright © 2017 CreoLabs. All rights reserved. // // Based on: https://www.w3schools.com/jsref/jsref_obj_math.asp #include <math.h> #include <time.h> #include <inttypes.h> #include "gravity_vm.h" #include "gravity_core.h" #inclu...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/optionals/gravity_opt_math.h
null
null
null
null
null
null
C
2026-05-04T18:27:32.345020
// // gravity_opt_math.h // gravity // // Created by Marco Bambini on 14/08/2017. // Copyright © 2017 CreoLabs. All rights reserved. // #ifndef __GRAVITY_MATH__ #define __GRAVITY_MATH__ #define GRAVITY_CLASS_MATH_NAME "Math" #include "gravity_value.h" void gravity_math_register (gravity_vm *vm); voi...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/runtime/gravity_vmmacros.h
null
null
null
null
null
null
C
2026-05-04T18:27:32.358282
// // gravity_vmmacros.h // gravity // // Created by Marco Bambini on 08/10/15. // Copyright © 2015 Creolabs. All rights reserved. // #ifndef __GRAVITY_VMMACROS__ #define __GRAVITY_VMMACROS__ // MACROS used in VM #if 0 #define DEBUG_CALL(s, f) printf("%s %s\n", s, f->identifier) #e...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/optionals/gravity_optionals.h
null
null
null
null
null
null
C
2026-05-04T18:27:32.380792
// // gravity_optionals.h // gravity // // Created by Marco Bambini on 14/08/2017. // Copyright © 2017 CreoLabs. All rights reserved. // #ifndef __GRAVITY_OPTIONALS__ #define __GRAVITY_OPTIONALS__ #ifdef GRAVITY_INCLUDE_MATH #define GRAVITY_MATH_REGISTER(_vm) gravity_math_register(_vm) #define GRAVITY_MA...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/runtime/gravity_vm.h
null
null
null
null
null
null
C
2026-05-04T18:27:32.391162
// // gravity_vm.h // gravity // // Created by Marco Bambini on 11/11/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_VM__ #define __GRAVITY_VM__ #include "gravity_delegate.h" #include "gravity_value.h" #ifdef __cplusplus extern "C" { #endif #define GRAVITY_VM_GCENABLED ...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/runtime/gravity_core.h
null
null
null
null
null
null
C
2026-05-04T18:27:32.392960
// // gravity_core.h // gravity // // Created by Marco Bambini on 10/01/15. // Copyright (c) 2015 CreoLabs. All rights reserved. // #ifndef __GRAVITY_CORE__ #define __GRAVITY_CORE__ #include "gravity_vm.h" #ifdef __cplusplus extern "C" { #endif // core functions GRAVITY_API gravity_class_t *gravity_core_class_...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/shared/gravity_array.h
null
null
null
null
null
null
C
2026-05-04T18:27:32.393613
// // gravity_array.h // gravity // // Created by Marco Bambini on 31/07/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_MUTABLE_ARRAY__ #define __GRAVITY_MUTABLE_ARRAY__ #include <stdint.h> // Inspired by https://github.com/attractivechaos/klib/blob/master/kvec.h #define MARRAY_DE...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/shared/gravity_config.h
null
null
null
null
null
null
C
2026-05-04T18:27:32.434717
// // gravity_config.h // gravity // // Created by Scott Ramsay on 18/6/20. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_CONFIG__ #define __GRAVITY_CONFIG__ #ifdef _MSC_VER #pragma comment(lib, "shlwapi") #include <basetsd.h> #if (!defined(HAVE_BZERO) || !defined(bze...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/shared/gravity_hash.c
null
null
null
null
null
null
C
2026-05-04T18:27:32.454529
// // gravity_hash.c // gravity // // Created by Marco Bambini on 23/04/15. // Copyright (c) 2015 CreoLabs. All rights reserved. // #include <inttypes.h> #include "gravity_hash.h" #include "gravity_macros.h" #if GRAVITYHASH_ENABLE_STATS #define INC_COLLISION(tbl) ++tbl->ncollision #define INC_RESIZE(tbl) ...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/runtime/gravity_vm.c
null
null
null
null
null
null
C
2026-05-04T18:27:32.471136
// // gravity_vm.c // gravity // // Created by Marco Bambini on 11/11/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #include "gravity_hash.h" #include "gravity_json.h" #include "gravity_array.h" #include "gravity_debug.h" #include "gravity_macros.h" #include "gravity_vm.h" #include "gravity_core.h" #...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/shared/gravity_delegate.h
null
null
null
null
null
null
C
2026-05-04T18:27:32.476000
// // gravity_delegate.h // gravity // // Created by Marco Bambini on 09/12/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #ifndef __GRAVITY_DELEGATE__ #define __GRAVITY_DELEGATE__ #include <stdint.h> #include "gravity_value.h" // error type and code definitions typedef enum { GRAVITY_ERROR_NONE...
marcobambini/gravity
https://github.com/marcobambini/gravity
null
null
null
null
4,506
null
null
mit
null
null
null
null
null
null
null
src/shared/gravity_hash.h
null
null
null
null
null
null
C
2026-05-04T18:27:33.090764
// // gravity_hash.h // gravity // // Created by Marco Bambini on 23/04/15. // Copyright (c) 2015 CreoLabs. All rights reserved. // #ifndef __GRAVITY_HASH__ #define __GRAVITY_HASH__ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include "gravity_value.h" #define GRAVITYHASH_ENAB...
jakehilborn/displayplacer
https://github.com/jakehilborn/displayplacer
null
null
null
null
4,415
null
null
mit
null
null
null
null
null
null
null
src/DisplayPlacer.c
null
null
null
null
null
null
C
2026-05-04T18:27:35.525781
#include <IOKit/graphics/IOGraphicsLib.h> #include <ApplicationServices/ApplicationServices.h> #include <mach/mach.h> #include <math.h> #include <stdio.h> #include "Header.h" int main(int argc, char* argv[]) { if (argc == 1 || strcmp(argv[1], "--help") == 0) { printHelp(); return 0; } if (...
jakehilborn/displayplacer
https://github.com/jakehilborn/displayplacer
null
null
null
null
4,415
null
null
mit
null
null
null
null
null
null
null
src/Headers/Bridging-Header.h
null
null
null
null
null
null
C
2026-05-04T18:27:35.535260
//Thanks to Alin Panaitiu for this header file to access the MonitorPanel framework: https://github.com/alin23/mac-utils #import <CoreGraphics/CoreGraphics.h> #import <CommonCrypto/CommonDigest.h> #import <Foundation/Foundation.h> #import <MonitorPanel/MPDisplayPreset.h> #import <MonitorPanel/MPDisplay.h> #import <Mon...
jakehilborn/displayplacer
https://github.com/jakehilborn/displayplacer
null
null
null
null
4,415
null
null
mit
null
null
null
null
null
null
null
src/Header.h
null
null
null
null
null
null
C
2026-05-04T18:27:35.567748
//Thanks to Phoenix Dev for modes_D4 type for use in Apple's private core graphics APIs typedef union { uint8_t rawData[0xDC]; struct { uint32_t mode; uint32_t flags; // 0x4 uint32_t width; // 0x8 uint32_t height; // 0xC uint32_t depth; // 0x10 uint32_t dc2...
jakehilborn/displayplacer
https://github.com/jakehilborn/displayplacer
null
null
null
null
4,415
null
null
mit
null
null
null
null
null
null
null
src/Legacy/v130.c
null
null
null
null
null
null
C
2026-05-04T18:27:36.254508
#include <IOKit/graphics/IOGraphicsLib.h> #include <ApplicationServices/ApplicationServices.h> #include <mach/mach.h> #include <math.h> #include <stdio.h> #import "../Header.h" void v130_listScreens() { CGDisplayCount screenCount; CGGetOnlineDisplayList(INT_MAX, NULL, &screenCount); //get number of online scre...
jdah/minecraft-weekend
https://github.com/jdah/minecraft-weekend
null
null
null
null
4,392
null
null
mit
null
null
null
null
null
null
null
src/block/coal.c
null
null
null
null
null
null
C
2026-05-04T18:27:38.503753
#include "block.h" static ivec2s get_texture_location(struct World *world, ivec3s pos, enum Direction d) { return (ivec2s) {{ 4, 0 }}; } void coal_init() { struct Block coal = BLOCK_DEFAULT; coal.id = COAL; coal.get_texture_location = get_texture_location; BLOCKS[COAL] = coal; }
jdah/minecraft-weekend
https://github.com/jdah/minecraft-weekend
null
null
null
null
4,392
null
null
mit
null
null
null
null
null
null
null
src/block/air.c
null
null
null
null
null
null
C
2026-05-04T18:27:38.537945
#include "block.h" void air_init() { struct Block air = BLOCK_DEFAULT; air.id = AIR; air.transparent = true; air.solid = false; BLOCKS[AIR] = air; }
jdah/minecraft-weekend
https://github.com/jdah/minecraft-weekend
null
null
null
null
4,392
null
null
mit
null
null
null
null
null
null
null
src/block/buttercup.c
null
null
null
null
null
null
C
2026-05-04T18:27:38.542038
#include "block.h" static ivec2s get_texture_location(struct World *world, ivec3s pos, enum Direction d) { return (ivec2s) {{ 1, 3 }}; } void buttercup_init() { struct Block buttercup = BLOCK_DEFAULT; buttercup.id = BUTTERCUP; buttercup.transparent = true; buttercup.solid = false; buttercup.me...
jdah/minecraft-weekend
https://github.com/jdah/minecraft-weekend
null
null
null
null
4,392
null
null
mit
null
null
null
null
null
null
null
src/block/block.c
null
null
null
null
null
null
C
2026-05-04T18:27:38.563793
#include "block.h" #include "../gfx/blockatlas.h" static ivec2s get_texture_location(struct World *world, ivec3s pos, enum Direction d) { assert(false); return GLMS_IVEC2_ZERO; } static void get_animation_frames(ivec2s out[BLOCK_ATLAS_FRAMES]) { return; } static Torchlight get_torchlight(struct World *wo...
jdah/minecraft-weekend
https://github.com/jdah/minecraft-weekend
null
null
null
null
4,392
null
null
mit
null
null
null
null
null
null
null
lib/noise/noise1234.h
null
null
null
null
null
null
C
2026-05-04T18:27:38.565474
// noise1234 // // Author: Stefan Gustavson, 2003-2005 // Contact: stefan.gustavson@liu.se // // This code was GPL licensed until February 2011. // As the original author of this code, I hereby // release it into the public domain. // Please feel free to use it for whatever you want. // Credit is appreciated where appr...