{"id":17177284,"url":"https://github.com/lexi-lambda/libsol","last_synced_at":"2025-04-13T17:09:49.576Z","repository":{"id":6751271,"uuid":"7997707","full_name":"lexi-lambda/libsol","owner":"lexi-lambda","description":"A C runtime for the sol programming language.","archived":false,"fork":false,"pushed_at":"2014-10-07T08:06:35.000Z","size":500,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T17:09:43.899Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lexi-lambda.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-03T22:40:38.000Z","updated_at":"2023-09-08T16:37:31.000Z","dependencies_parsed_at":"2022-07-17T10:00:56.302Z","dependency_job_id":null,"html_url":"https://github.com/lexi-lambda/libsol","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lexi-lambda%2Flibsol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lexi-lambda%2Flibsol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lexi-lambda%2Flibsol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lexi-lambda%2Flibsol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lexi-lambda","download_url":"https://codeload.github.com/lexi-lambda/libsol/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248750107,"owners_count":21155686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T00:03:27.865Z","updated_at":"2025-04-13T17:09:49.547Z","avatar_url":"https://github.com/lexi-lambda.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Building libsol\n===============\nBuilding libsol only requires a C compiler (preferably Clang or GCC) and a\nfew dependencies.\n\nRequirements\n------------\nTo build libsol, you'll need to have the following installed on your system:\n\n* [libYAML](http://pyyaml.org/wiki/LibYAML) - a C YAML parser\n* [libuv](https://github.com/joyent/libuv) - a C event library, originally designed for use in Node.js\n\nIf you're running Debian, you can get libYAML from the `lib-yaml-0-2` and `lib-yaml-dev`\npackages. libuv does not currently distribute packages, so it will need to be built\nfrom source (see the libuv readme).\n\nBuilding\n--------\nThe libsol project can be built using [CMake](http://www.cmake.org/). It is\ninstalled to the /usr/local directories. Currently, most Unix-based operating\nsystems should be supported, including Linux and Mac OS X.\n\nIt is recommended that you keep all build files in a subdirectory to avoid\ncluttering the repository. The `build` folder is automatically ignored\nin the .gitignore file, so you could build the project using GNU Make like this:\n\n    cd libsol\n    mkdir build\n    cd build\n    cmake ..\n    make\n    sudo make install\n\nAlternatively, you can specify other generators to use other build systems. For\nexample, you could generate an Xcode project with the following command:\n\n    cmake -G Xcode ..\n\nCompiling Sol Programs\n======================\nIn order to compile a sol program, you will need to have generated a C source\nfile from a standard sol source file. This can be done with the solc utility.\nThis will output a .c file, which can then be compiled with the following\ncommand (using Clang):\n\n    clang -lsol -o my-program my-program.c\n\nThis should generate a standard executable which can be run view the command\nline as usual.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flexi-lambda%2Flibsol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flexi-lambda%2Flibsol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flexi-lambda%2Flibsol/lists"}