Implement Italian Fiscal Code in Lua

Đang mở
#7 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
65/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, lua
Lĩnh vực
tooling

Hướng nghiên cứu

Start by reading SPECIFICATION.md and the Python and PHP implementations under languages/. Create languages/lua/ with the source, Dockerfile, run.sh, manifest.yaml and README.md, with the program reading one JSON object on stdin and writing the fiscal code as JSON on stdout. Done when ./elc test lua passes 87/87 and the PR references this issue with Closes #7.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

good first issue hacktoberfest help wanted new-language

Implement the Italian Fiscal Code algorithm in Lua 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 lua
{"fiscal_code": "RSSMRA80A01H501U"}
Suggested setup
Directory languages/lua/
Family scripting
Docker base alpine:3.20 + lua5.4 (just a suggestion)
Checklist
  • languages/lua/ with source, Dockerfile, run.sh, manifest.yaml and README.md
  • The algorithm is written entirely in Lua (no wrappers, no fiscal-code libraries, no remote calls)
  • ./elc test lua 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!

Ngôn ngữ chính
Python
Star
1
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openapi/every-language-fiscal-code

Tất cả issue của openapi/every-language-fiscal-code

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.