Implement Italian Fiscal Code in Lua
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
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ả
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.yamlandREADME.md - The algorithm is written entirely in Lua (no wrappers, no fiscal-code libraries, no remote calls)
-
./elc test luapasses 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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của openapi/every-language-fiscal-code
-
good first issue hacktoberfest help wanted new-language
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 78/100
-
hacktoberfest help wanted historical-language new-language
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
-
hacktoberfest help wanted historical-language new-language
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
-
hacktoberfest help wanted historical-language new-language
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
-
hacktoberfest help wanted historical-language new-language
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 50/100
Tất cả issue của openapi/every-language-fiscal-code
Issue tương tự
-
area/test type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Clodmony/starship-coop#70 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
punitarani/fli#270 ·
-
🐛 Bug 🔔 Pending processing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
jumpserver/jumpserver#17980 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Claiming namespace `prodmetrics`Đang mởnamespace
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
EclipseFdn/open-vsx.org#15341 ·
Maintainer thường phản hồi trong vòng 1 ngày