{"id":30527420,"url":"https://github.com/asmxfoundation/asmx-g3","last_synced_at":"2026-06-28T05:32:06.112Z","repository":{"id":306678242,"uuid":"817799164","full_name":"AsmXFoundation/AsmX-G3","owner":"AsmXFoundation","description":"The AsmX G3 (AsmX Generation 3)","archived":false,"fork":false,"pushed_at":"2025-09-23T23:44:38.000Z","size":205,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-24T01:22:25.290Z","etag":null,"topics":["asmx","asmx-compiler","asmx-foundation","asmx-g3","compiler","compilers","elf","elf64","innovation","jitc","linux","modern","open-source","programming-language","programming-languages","zcc","zgen","zgen-compiler"],"latest_commit_sha":null,"homepage":"https://taihusk.github.io/doc.asmx-g3-lang/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AsmXFoundation.png","metadata":{"files":{"readme":"README.md","changelog":"changelogs/v28.0.0-rev2.0/changelog","contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-20T13:14:35.000Z","updated_at":"2025-09-23T23:44:42.000Z","dependencies_parsed_at":"2025-07-27T02:46:27.242Z","dependency_job_id":"8ef042ea-26d2-4407-8731-93987d3b0634","html_url":"https://github.com/AsmXFoundation/AsmX-G3","commit_stats":null,"previous_names":["asmxfoundation/asmx-g3"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/AsmXFoundation/AsmX-G3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsmXFoundation%2FAsmX-G3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsmXFoundation%2FAsmX-G3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsmXFoundation%2FAsmX-G3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsmXFoundation%2FAsmX-G3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AsmXFoundation","download_url":"https://codeload.github.com/AsmXFoundation/AsmX-G3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsmXFoundation%2FAsmX-G3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34878963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"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":["asmx","asmx-compiler","asmx-foundation","asmx-g3","compiler","compilers","elf","elf64","innovation","jitc","linux","modern","open-source","programming-language","programming-languages","zcc","zgen","zgen-compiler"],"created_at":"2025-08-27T02:23:41.765Z","updated_at":"2026-06-28T05:32:06.106Z","avatar_url":"https://github.com/AsmXFoundation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AsmX G3 Compiler\n\n[ChangeLog](./changelogs/main.md)\n\n## Requires\n\n - `6.17.9-arch1-1` (Arch Linux)\n\n## Command Line Interface (CLI) Usage\n\n### Installation\n\nTo install AsmX G3, run the following command:\n```\ncd src \u0026\u0026 npm install\ncd ../\n```\n\n## Install in the Arch Linux (if you don't have aur helper)\n```\ncd AsmX-G3/src\nnpm install --ignore-scripts\nsudo npm install -g . --ignore-scripts\nasmx --help\n```\n\n## Install in the Arch Linux\n\n```\nyay -S asmx-g3-git\n```\n\n### Usage\n\n```\nasmx [file] [options]\n```\n\n### Example\n\n```sh\nasmx main.asmx\nasmx main\nasmx main --release --target amd64 -o index\nasmx main --release --target amd64 -o myapp --package --package-type deb --package-name my-application --package-version 1.0.0\n\nasmx \\\n  --multiboot \\\n  --emergency-panic --verbose-common 10 \\\n  --release --target amd64 \\\n  --features all \\\n  --source ./examples/compile -o compiled \\\n  --source ./examples/simple_driver -o fireware.ko \\\n  --source ./examples/libm -o libasmm.so\n\nasmx --multiclean\n```\n\n### create the KERNEL MODULE\n\n```sh\nasmx ./examples/simple_driver \\\n  --release --target amd64 \\\n  -o fireware.ko \\\n  --features all \\\n  --emergency-panic --verbose-common 10\n\nsudo insmod fireware.ko\nsudo rmmod fireware.ko\nsudo dmesg | tail -n 15\n```\n\n### create the own library (SHARED OBJECT)\n```sh\nasmx ./examples/libm \\\n  --release --target amd64 \\\n  -o libasmm.so \\\n  --features all \\\n  --emergency-panic --verbose-common 10\n\nsudo gcc -o ./examples/test_main ./examples/libm_test.c -L. -lasmm\n\nLD_LIBRARY_PATH=. ./examples/test_main\n```\n\nuse `raptor` driver:\n```sh\nasmx ./examples/g4/libm \\\n  --release --target amd64 \\\n  -o libasmm-v2.so \\\n  --features all \\\n  --emergency-panic --verbose-common 10 \\\n  --use-raptor\n\nsudo gcc -o ./examples/g4/test_main ./examples/g4/libm_test.c -L. -lasmm-v2\n\nLD_LIBRARY_PATH=. ./examples/g4/test_main\n```\n\n### Options\n\n| Option / Flag           | Description                                                        |\n|-------------------------|--------------------------------------------------------------------|\n| `-h`, `--help`          | Display this information                                           |\n| `-v`, `--version`       | Display the version number                                         |\n| `-a`, `--aliases`       | Display the aliases of the compiler                                |\n| `--dumpversion`         | Display the version of the compiler                                |\n| `--dumpmachine`         | Display the compiler's target processor                            |\n| `--profiletime`         | Enable the time profiler                                           |\n| `--hinfo`               | Hide confidential information                                      |\n| `@file`, `--file file`  | Specify the file for processing parameters                         |\n| `--llvm-version`        | Display the LLVM version card                                      |\n| `--llvm-dumpversion`    | Display the LLVM version                                           |\n| `--llvm-repository`     | Display the LLVM repository                                        |\n| `--export-json-isa`     | Export the instruction set to JSON file                            |\n\n### Compilation Options\n\n| Option / Flag           | Description                                                             |\n|-------------------------|-------------------------------------------------------------------------|\n| `-r`, `--release`       | Create an executable file                                               |\n| `-o`, `--objname`       | Set the output file name                                                |\n| `-t`, `--target`        | Specify the target CPU architecture (amd64, etc) for compilation        |\n| `-m`, `--march`         | Specify the target CPU microarchitecture (x86_64, etc) for compilation  |\n| `--features`            | Specify CPU features for compilation                                    |\n\n### Package Options\n\n| Option / Flag           | Description                                                        |\n|-------------------------|--------------------------------------------------------------------|\n| `--package-type`        | Package type: deb or etc                                           |\n| `--package-name`        | Package name (default: executable name)                            |\n| `--package-version`     | Package version (default: 1.0.0)                                   |\n| `--package-description` | Package description                                                |\n| `--package-author`      | Package author                                                     |\n| `--package-icon`        | Path to package icon                                               |\n| `--package-desktop`     | Create desktop entry (true/false)                                  |\n\n### Commands\n\n| Command                 | Description                                                        |\n|-------------------------|--------------------------------------------------------------------|\n| `--update`              | Update AsmX compilation platform                                   |\n| `--package`             | Create package from compiled executable                            |\n\n## Package Creation\n\nAsmX G3 supports creating Linux packages (DEB and etc) from compiled executables.\n\n### Quick Start\n\n```bash\n# Compile and create DEB package\nasmx main.asmx --release --target amd64 -o myapp --package --package-type deb\n\n# With custom package information\nasmx main.asmx --release --target amd64 -o myapp --package \\\n  --package-type deb \\\n  --package-name my-application \\\n  --package-version 1.0.0 \\\n  --package-description \"My awesome AsmX application\" \\\n  --package-author \"Developer \u003cdev@example.com\u003e\" \\\n  --package-desktop true\n```\n\n### Package Features\n\n- **DEB Packages**: Compatible with Debian-based distributions (Ubuntu, Debian, Linux Mint)\n- **Automatic Dependencies**: Detects and includes required libraries\n- **Desktop Integration**: Optional `.desktop` file creation\n- **Icon Support**: Custom application icons\n- **Post-install Scripts**: Custom installation/uninstallation scripts\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasmxfoundation%2Fasmx-g3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasmxfoundation%2Fasmx-g3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasmxfoundation%2Fasmx-g3/lists"}