Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Implement Italian Fiscal Code in Prolog

Aperta
#17 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
62/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker
Ambito
backend

Direzione di ricerca

Read SPECIFICATION.md for the input and output contract, then compare the languages/python and languages/php implementations as complete examples of the expected layout. Create languages/prolog/ with the source, Dockerfile, run.sh, manifest.yaml and README.md, with the algorithm written entirely in Prolog. Done means ./elc test prolog passes 87/87.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

hacktoberfest help wanted new-language

Implement the Italian Fiscal Code algorithm in Prolog and get it verified by the shared test suite.

What to build

A program that reads one JSON object on stdin and writes the fiscal code (or an error) as JSON on stdout, exactly as described in SPECIFICATION.md.

$ echo '{"surname":"ROSSI","name":"MARIO","birth_date":"1980-01-01","sex":"M","birthplace_code":"H501"}' | ./elc run prolog
{"fiscal_code": "RSSMRA80A01H501U"}
Suggested setup
Directory languages/prolog/
Family logic
Docker base swipl:9 (just a suggestion)
Checklist
  • languages/prolog/ with source, Dockerfile, run.sh, manifest.yaml and README.md
  • The algorithm is written entirely in Prolog (no wrappers, no fiscal-code libraries, no remote calls)
  • ./elc test prolog passes 87/87
  • PR opened with Closes #<this issue>

See CONTRIBUTING.md and the Python / PHP implementations for complete examples.

🎃 This issue is part of Hacktoberfest. Comment below to claim it!

Lingua principale
Python
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openapi/every-language-fiscal-code

Tutte le issue di openapi/every-language-fiscal-code

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.