Gene Old

C+ 72 completed
Cli Tool
monorepo / nim · medium
901
Files
99,655
LOC
2
Frameworks
13
Languages

Pipeline State

completed
Run ID
#342909
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
75.00
Framework unique
Isolation
Last stage change
2026-05-10 03:35:24
Deduplication group #49735
Member of a group with 1 similar repo(s) — this repo is canonical view group →
Top concepts (2)
Project DescriptionWeb Frontend
If a scraper extracted this row, it came from Repobility (https://repobility.com)

AI Prompt

Create a command-line virtual machine for a homoiconic, Lisp-like language called Gene. I need the core VM implementation written in Nim, which should handle compiling and running Gene code. The toolchain should include commands like `run`, `eval`, `repl`, `parse`, and `compile`. Please ensure it supports the unique Gene data structure, which combines a Type, key-value Properties (prefixed with `^`), and positional Children. It should also support basic class systems, async I/O using `async`/`await`, and include unit tests written in Nim.
nim cli virtual-machine lisp homoiconic compiler dsl async command-line
Generated by gemma4:latest

Catalog Information

A command‑line virtual machine that compiles and runs Gene, a homoiconic Lisp‑like language, for developers building domain‑specific languages and experimenting with macro systems.

Description

Gene’s virtual machine compiles Gene source into bytecode and executes it on a stack‑based interpreter with computed‑goto dispatch. It supports a Lisp‑style syntax, a unified data structure that blends type, properties, and children, and a macro system that transforms code before evaluation. The VM includes a basic class system, namespaces, and asynchronous I/O via an event loop, all accessible through a command‑line toolchain (run, eval, repl, parse, compile). Targeted at language designers, researchers, and developers who want a lightweight, homoiconic environment, it solves the need for fast, flexible execution of DSLs and experimental language features. Its unique data representation simplifies code‑as‑data manipulation and DSL construction.

الوصف

يقدم هذا المشروع محركًا افتراضيًا للغة Gene، التي تعتمد على بنية بيانات موحدة تجمع بين النوع والخصائص والأطفال، ما يجعل الكود والبيانات متشابهين في الشكل. يتيح المحرك تجميع الكود إلى بايت كود ثم تنفيذها على آلة ذات طابور مكدس مع dispatch محسوب. يدعم المحرك نظامًا للماكرو يتيح تحويل الكود قبل التقييم، بالإضافة إلى نظام فئات أساسي مع دعم الفئات المتداخلة والمساحات الاسمية. يوفر المحرك أيضًا دعمًا للمدخلات/المخرجات غير المتزامنة عبر حلقة أحداث، مع أوامر سطر أوامر لتشغيل وتقييم البرامج وتوفير REPL. يستهدف المطورين الذين يرغبون في تجربة لغات برمجة هوموإيكونية أو بناء لغات خاصة بالمجال، ويحل مشكلة الحاجة إلى بيئة تنفيذ خفيفة وسريعة للغات ذات بنية بيانات مركبة. يميز المشروع بتركيبة بيانات Gene الفريدة التي تجمع بين الخصائص والأطفال في نفس الهيكل، مما يسهل إنشاء DSLs وتوسيع اللغة بسهولة.

Novelty

8/10

Tags

homoiconic-language bytecode-virtual-machine lisp‑like-syntax macro-system async-i/o class-system command‑line-toolchain data‑driven-dsl

Technologies

nginx

Claude Models

claude-opus-4.6 claude-sonnet-4.6

Quality Score

C+
71.7/100
Structure
78
Code Quality
65
Documentation
62
Testing
85
Practices
57
Security
90
Dependencies
60

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (93% test-to-source ratio)
  • Code linting configured (eslint)
  • Consistent naming conventions (snake_case)
  • Good security practices \u2014 no major issues detected
  • Containerized deployment (Docker)
  • Properly licensed project

Weaknesses

  • 2 files with critical complexity need refactoring
  • Potential hardcoded secrets in 1 files
  • 9746 duplicate lines detected \u2014 consider DRY refactoring
  • 23 'god files' with >500 LOC need decomposition

Recommendations

  • Move hardcoded secrets to environment variables or a secrets manager
  • Address 94 TODO/FIXME items \u2014 consider tracking them as issues

Security & Health

49.6h
Tech Debt (B)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (1)
Repobility · open methodology · https://repobility.com/research/
MIT
License
18.4%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

nim
62.9%
markdown
24.4%
javascript
4.9%
json
4.3%
shell
1.7%
css
0.5%
cpp
0.5%
html
0.4%
c
0.2%
typescript
0.1%
yaml
0.1%
ruby
0.0%

Frameworks

React Vite

Concepts (2)

Same analyzer free for public repos: https://repobility.com
CategoryNameDescriptionConfidence
Repobility · severity-and-effort ranking · https://repobility.com
auto_descriptionProject DescriptionGene is a general-purpose, homoiconic language with a Lisp-like surface syntax. This repository hosts the bytecode virtual machine (VM) implementation written in Nim.80%
auto_categoryWeb Frontendweb-frontend70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/66951.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV