{"id":32955314,"url":"https://github.com/xet7/JadeLib","last_synced_at":"2025-11-17T16:02:09.206Z","repository":{"id":94946235,"uuid":"424244909","full_name":"xet7/JadeLib","owner":"xet7","description":"Old fork with some added examples from forum of JADE, BASIC-like syntax to program C++, using header file","archived":false,"fork":false,"pushed_at":"2023-04-02T21:06:51.000Z","size":249,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T07:45:27.139Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://git.binarymagic.net/AIR/jade","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xet7.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-03T13:56:42.000Z","updated_at":"2024-11-20T23:21:51.000Z","dependencies_parsed_at":"2024-11-23T10:40:34.027Z","dependency_job_id":null,"html_url":"https://github.com/xet7/JadeLib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xet7/JadeLib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xet7%2FJadeLib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xet7%2FJadeLib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xet7%2FJadeLib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xet7%2FJadeLib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xet7","download_url":"https://codeload.github.com/xet7/JadeLib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xet7%2FJadeLib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284911789,"owners_count":27083425,"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","status":"online","status_checked_at":"2025-11-17T02:00:06.431Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-11-12T22:00:43.627Z","updated_at":"2025-11-17T16:02:09.201Z","avatar_url":"https://github.com/xet7.png","language":"C++","readme":"# JADE\n\nJADE is BASIC-like syntax to program C++, using header file.\n\n- Newest JADE upstream: https://git.binarymagic.net/AIR/jade\n- Mirror of upstream: https://github.com/binarymagicnet/jade\n- Originally was at https://git.binarymagic.net/AIR/JadeLib\n- This repo is old fork of old original repo with some examples added from JadeLib forum. Those same examples could also be at newest upstream at https://git.binarymagic.net/AIR/JadeLib\n\n### *(Jade's A Developing Experiment)*\n\n### JADE consists of a C++ include file with Defines/Macros, and a library of Functions that seeks to provide an easier way of creating C++ code.\n\n### This is a proof of concept using a BASIC-like syntax to program C++.\n\n### For the list of current Keywords, see the [Keywords]() file\n\n### For the Function prototypes, see the [Prototypes]() file\n\n#### You can regenerate both files by compiling and running the included `generate-keywords.cc` file.\n\n## Building the Library\n\n\nTo build the library, a simple `make` in the source folder is all that is required.\n\nTo build the Examples, change directory to the Examples folder and type `make`.\n\n## How to link to the library\nYou have two choices:\n\n1. If you used the `make install` option, you can link to the library with `-ljade`\n2. The seccond approach requres you to pass the location of the jade.h and the libjade.a file to g++, like so:\n\n`g++ -std=c++11 -I\u003cpath to jade.h\u003e -L\u003cpath to libjade\u003e -ljade`\n\n**Note:  You MUST compile using `-std=c++11` or higher.**\n\n## What does coding with JADE look like?\n\n```\n#include \u003cjade.hpp\u003e\n\nMAIN\n    VAR MyArray = SPLIT(\"pear,cranberry,orange,apple,carrot,banana,grape,peaches,tangerines\",\",\");\n\n    SORT(MyArray);\n\n    FOR (VAR item IN MyArray) DO \n        PRINT(item);\n    END\nEND\n```\n\n#### Compile it with:\n`g++ -std=c++11 sorttest.cc -ljade -o sorttest`\n\n## \"What if I don't want to retype the entire g++ command every time I compile...\"\nFor simple one-off compilation, I created a `Bash Function` that I added to my ~/.bash_profile (on my Mac) and ~/.bashrc (On my Linux box) that looks like this:\n\n```bash\n# JADE\nfunction jade() { \n    g++ -std=c++11 \"$@\" -ljade -o \"${1%.*}\"\n}\n```\n\nSo I can invoke the compilation of the demo above like so:\n\n`jade sort_test.cc`\n\n**NOTE:  Any additional linker options need to be placed AFTER the primary filename, including any additional files or libraries.**\n\n## Let me know if you have any questions/comments.\n\nYou can post your questions/comments at: [JADE Sub-Forum on allbasic.info](https://www.allbasic.info/forum/index.php?board=22.0)\n\n\n\n\n\n\n","funding_links":[],"categories":["Dialects"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxet7%2FJadeLib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxet7%2FJadeLib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxet7%2FJadeLib/lists"}