Skip to content

[Grading] Team: Amircal Metelis #34

Open

Description

@amircalabel

Repository URL

https://github.com/amircalabel/Hulk-compiler.git

Branch

main

Team Members

jus me
my self
and I

Features Implemented

  • Minimal requirements: expressions, functions, variables, conditionals, loops
  • Type system and type checking (with explicit and inferred annotations)
  • OOP: classes, inheritance, polymorphism, is/as
  • Iterables / for loops
  • Vectors / arrays
  • Protocols
  • Functors (first-class functions)
  • Macros

Activity

  1. added
    gradingCompiler project submission for automated grading
    on Jun 18, 2026
  2. github-actions commented on Jun 18, 2026

    @github-actions

    ⏳ HULK Grading running on https://github.com/amircalabel/Hulk-compiler.git @ branch main...

  3. github-actions commented on Jun 18, 2026

    @github-actions

    ⏳ HULK Grading running on https://github.com/amircalabel/Hulk-compiler.git @ branch main...

  4. github-actions commented on Jun 18, 2026

    @github-actions

    🤖 HULK Grading Report — 2026-06-18 15:44 UTC

    Repo: https://github.com/amircalabel/Hulk-compiler.git

    📦 Build

    ✅ Build successful

    📄 Report

    ❌ REPORT.md not found in repo root.

    🧪 Tests

    Category Passed Total Status
    ok/minimal 0 20 ⚠️
    ok/types 0 10 ⚠️
    ok/oop 0 10 ⚠️
    errors/lexical 0 6 ⚠️
    errors/syntactic 0 10 ⚠️
    errors/semantic 0 15 ⚠️
    ok/extras 0 10 ➖

    ❌ Failures

    • ok/minimal/arithmetic: compilation failed (exit 65):
    • ok/minimal/block_value: compilation failed (exit 65):
    • ok/minimal/boolean_ops: compilation failed (exit 65):
    • ok/minimal/chained_elif: compilation failed (exit 65):
    • ok/minimal/conditionals: expected [negative|zero|positive|] got [|]
    • ok/minimal/forward_reference: compilation failed (exit 65):
    • ok/minimal/functions: compilation failed (exit 65):
    • ok/minimal/hello: expected [Hello, World!|] got [nil|]
    • ok/minimal/let_binding: compilation failed (exit 65):
    • ok/minimal/let_shadow: compilation failed (exit 65):
    • ok/minimal/mutual_recursion: compilation failed (exit 65):
    • ok/minimal/negative_numbers: compilation failed (exit 65):
    • ok/minimal/nested_let: compilation failed (exit 65):
    • ok/minimal/operator_identity: compilation failed (exit 65):
    • ok/minimal/precedence: compilation failed (exit 65):
    • ok/minimal/recursive_sum: compilation failed (exit 65):
    • ok/minimal/string_compare: compilation failed (exit 65):
    • ok/minimal/strings: expected [Hello, World!|foo bar|] got [|]
    • ok/minimal/while_loop: compilation failed (exit 65):
    • ok/minimal/while_nested: compilation failed (exit 65):
    • (and 210 more…)

    🔖 Status

    ❌ Not ready for review (some required tests are failing; REPORT.md is missing or too short).
    Fix the issues above and comment /regrade to re-run.

  5. github-actions commented on Jun 18, 2026

    @github-actions

    🤖 HULK Grading Report — 2026-06-18 15:45 UTC

    Repo: https://github.com/amircalabel/Hulk-compiler.git

    📦 Build

    ✅ Build successful

    📄 Report

    ❌ REPORT.md not found in repo root.

    🧪 Tests

    Category Passed Total Status
    ok/minimal 0 20 ⚠️
    ok/types 0 10 ⚠️
    ok/oop 0 10 ⚠️
    errors/lexical 0 6 ⚠️
    errors/syntactic 0 10 ⚠️
    errors/semantic 0 15 ⚠️
    ok/extras 0 10 ➖

    ❌ Failures

    • ok/minimal/arithmetic: compilation failed (exit 65):
    • ok/minimal/block_value: compilation failed (exit 65):
    • ok/minimal/boolean_ops: compilation failed (exit 65):
    • ok/minimal/chained_elif: compilation failed (exit 65):
    • ok/minimal/conditionals: expected [negative|zero|positive|] got [|]
    • ok/minimal/forward_reference: compilation failed (exit 65):
    • ok/minimal/functions: compilation failed (exit 65):
    • ok/minimal/hello: expected [Hello, World!|] got [nil|]
    • ok/minimal/let_binding: compilation failed (exit 65):
    • ok/minimal/let_shadow: compilation failed (exit 65):
    • ok/minimal/mutual_recursion: compilation failed (exit 65):
    • ok/minimal/negative_numbers: compilation failed (exit 65):
    • ok/minimal/nested_let: compilation failed (exit 65):
    • ok/minimal/operator_identity: compilation failed (exit 65):
    • ok/minimal/precedence: compilation failed (exit 65):
    • ok/minimal/recursive_sum: compilation failed (exit 65):
    • ok/minimal/string_compare: compilation failed (exit 65):
    • ok/minimal/strings: expected [Hello, World!|foo bar|] got [|]
    • ok/minimal/while_loop: compilation failed (exit 65):
    • ok/minimal/while_nested: compilation failed (exit 65):
    • (and 210 more…)

    🔖 Status

    ❌ Not ready for review (some required tests are failing; REPORT.md is missing or too short).
    Fix the issues above and comment /regrade to re-run.

  6. amircalabel commented on Jun 21, 2026

    @amircalabel
    Author

    /regrade

  7. github-actions commented on Jun 21, 2026

    @github-actions

    ⏳ HULK Grading running on https://github.com/amircalabel/Hulk-compiler.git @ branch main...

  8. github-actions commented on Jun 21, 2026

    @github-actions

    🤖 HULK Grading Report — 2026-06-21 18:29 UTC

    Repo: https://github.com/amircalabel/Hulk-compiler.git

    📦 Build

    ✅ Build successful

    📄 Report

    ❌ REPORT.md not found in repo root.

    🧪 Tests

    Category Passed Total Status
    ok/minimal 0 20 ⚠️
    ok/types 0 10 ⚠️
    ok/oop 0 10 ⚠️
    errors/lexical 0 6 ⚠️
    errors/syntactic 0 10 ⚠️
    errors/semantic 0 15 ⚠️
    ok/extras 0 10 ➖

    ❌ Failures

    • ok/minimal/arithmetic: compilation failed (exit 65):
    • ok/minimal/block_value: compilation failed (exit 65):
    • ok/minimal/boolean_ops: compilation failed (exit 65):
    • ok/minimal/chained_elif: compilation failed (exit 65):
    • ok/minimal/conditionals: expected [negative|zero|positive|] got [|]
    • ok/minimal/forward_reference: compilation failed (exit 65):
    • ok/minimal/functions: compilation failed (exit 65):
    • ok/minimal/hello: expected [Hello, World!|] got [nil|]
    • ok/minimal/let_binding: compilation failed (exit 65):
    • ok/minimal/let_shadow: compilation failed (exit 65):
    • ok/minimal/mutual_recursion: compilation failed (exit 65):
    • ok/minimal/negative_numbers: compilation failed (exit 65):
    • ok/minimal/nested_let: compilation failed (exit 65):
    • ok/minimal/operator_identity: compilation failed (exit 65):
    • ok/minimal/precedence: compilation failed (exit 65):
    • ok/minimal/recursive_sum: compilation failed (exit 65):
    • ok/minimal/string_compare: compilation failed (exit 65):
    • ok/minimal/strings: expected [Hello, World!|foo bar|] got [|]
    • ok/minimal/while_loop: compilation failed (exit 65):
    • ok/minimal/while_nested: compilation failed (exit 65):
    • (and 210 more…)

    🔖 Status

    ❌ Not ready for review (some required tests are failing; REPORT.md is missing or too short).
    Fix the issues above and comment /regrade to re-run.

  9. amircalabel commented on Jun 24, 2026

    @amircalabel
    Author

    /regrade

  10. github-actions commented on Jun 24, 2026

    @github-actions

    ⏳ HULK Grading running on https://github.com/amircalabel/Hulk-compiler.git @ branch main...

  11. github-actions commented on Jun 24, 2026

    @github-actions

    🤖 HULK Grading Report — 2026-06-24 18:04 UTC

    Repo: https://github.com/amircalabel/Hulk-compiler.git

    📦 Build

    ✅ Build successful

    📄 Report

    ❌ REPORT.md not found in repo root.

    🧪 Tests

    Category Passed Total Status
    ok/minimal 0 20 ⚠️
    ok/types 0 10 ⚠️
    ok/oop 0 10 ⚠️
    errors/lexical 0 6 ⚠️
    errors/syntactic 0 10 ⚠️
    errors/semantic 0 15 ⚠️
    ok/extras 0 10 ➖

    ❌ Failures

    • ok/minimal/arithmetic: compilation failed (exit 65):
    • ok/minimal/block_value: compilation failed (exit 65):
    • ok/minimal/boolean_ops: compilation failed (exit 65):
    • ok/minimal/chained_elif: compilation failed (exit 65):
    • ok/minimal/conditionals: expected [negative|zero|positive|] got [|]
    • ok/minimal/forward_reference: compilation failed (exit 65):
    • ok/minimal/functions: compilation failed (exit 65):
    • ok/minimal/hello: expected [Hello, World!|] got [nil|]
    • ok/minimal/let_binding: compilation failed (exit 65):
    • ok/minimal/let_shadow: compilation failed (exit 65):
    • ok/minimal/mutual_recursion: compilation failed (exit 65):
    • ok/minimal/negative_numbers: compilation failed (exit 65):
    • ok/minimal/nested_let: compilation failed (exit 65):
    • ok/minimal/operator_identity: compilation failed (exit 65):
    • ok/minimal/precedence: compilation failed (exit 65):
    • ok/minimal/recursive_sum: compilation failed (exit 65):
    • ok/minimal/string_compare: compilation failed (exit 65):
    • ok/minimal/strings: expected [Hello, World!|foo bar|] got [|]
    • ok/minimal/while_loop: compilation failed (exit 65):
    • ok/minimal/while_nested: compilation failed (exit 65):
    • (and 210 more…)

    🔖 Status

    ❌ Not ready for review (some required tests are failing; REPORT.md is missing or too short).
    Fix the issues above and comment /regrade to re-run.

  12. amircalabel commented on Jun 24, 2026

    @amircalabel
    Author

    /regrade

  13. github-actions commented on Jun 24, 2026

    @github-actions

    ⏳ HULK Grading running on https://github.com/amircalabel/Hulk-compiler.git @ branch main...

  14. github-actions commented on Jun 24, 2026

    @github-actions

    🤖 HULK Grading Report — 2026-06-24 18:31 UTC

    Repo: https://github.com/amircalabel/Hulk-compiler.git

    📦 Build

    ✅ Build successful

    📄 Report

    ❌ REPORT.md not found in repo root.

    🧪 Tests

    Category Passed Total Status
    ok/minimal 0 20 ⚠️
    ok/types 0 10 ⚠️
    ok/oop 0 10 ⚠️
    errors/lexical 0 6 ⚠️
    errors/syntactic 0 10 ⚠️
    errors/semantic 0 15 ⚠️
    ok/extras 0 10 ➖

    ❌ Failures

    • ok/minimal/arithmetic: compilation failed (exit 65):
    • ok/minimal/block_value: compilation failed (exit 65):
    • ok/minimal/boolean_ops: compilation failed (exit 65):
    • ok/minimal/chained_elif: compilation failed (exit 65):
    • ok/minimal/conditionals: expected [negative|zero|positive|] got [|]
    • ok/minimal/forward_reference: compilation failed (exit 65):
    • ok/minimal/functions: compilation failed (exit 65):
    • ok/minimal/hello: expected [Hello, World!|] got [nil|]
    • ok/minimal/let_binding: compilation failed (exit 65):
    • ok/minimal/let_shadow: compilation failed (exit 65):
    • ok/minimal/mutual_recursion: compilation failed (exit 65):
    • ok/minimal/negative_numbers: compilation failed (exit 65):
    • ok/minimal/nested_let: compilation failed (exit 65):
    • ok/minimal/operator_identity: compilation failed (exit 65):
    • ok/minimal/precedence: compilation failed (exit 65):
    • ok/minimal/recursive_sum: compilation failed (exit 65):
    • ok/minimal/string_compare: compilation failed (exit 65):
    • ok/minimal/strings: expected [Hello, World!|foo bar|] got [|]
    • ok/minimal/while_loop: compilation failed (exit 65):
    • ok/minimal/while_nested: compilation failed (exit 65):
    • (and 210 more…)

    🔖 Status

    ❌ Not ready for review (some required tests are failing; REPORT.md is missing or too short).
    Fix the issues above and comment /regrade to re-run.

  15. amircalabel commented on Jun 25, 2026

    @amircalabel
    Author

    /regrade

  16. 54 remaining items

  17. github-actions commented on Aug 16, 2026

    @github-actions

    🤖 HULK Grading Report — 2026-08-16 18:13 UTC

    Repo: https://github.com/amircalabel/Hulk-compiler.git

    📦 Build

    ✅ Build successful

    📄 Report

    ✅ REPORT.md found (2,822 words)

    🧪 Tests

    Category Passed Total Status
    ok/minimal 20 20 ✅
    ok/types 10 10 ✅
    ok/oop 10 10 ✅
    errors/lexical 6 6 ✅
    errors/syntactic 10 10 ✅
    errors/semantic 15 15 ✅
    ok/extras 2 10 ➖

    ❌ Failures

    • ok/extras/for_complex: compilation failed (exit 2): [main] scan start
    • ok/extras/for_even_count: compilation failed (exit 2): [main] scan start
    • ok/extras/for_function: compilation failed (exit 2): [main] scan start
    • ok/extras/for_let_body: compilation failed (exit 2): [main] scan start
    • ok/extras/for_loop: compilation failed (exit 2): [main] scan start
    • ok/extras/for_nested: compilation failed (exit 2): [main] scan start
    • ok/extras/range_count: compilation failed (exit 2): [main] scan start
    • ok/extras/range_sum: compilation failed (exit 2): [main] scan start
    • ok/macros/define_block: compilation failed (exit 2): [main] scan start
    • ok/macros/define_chain: compilation failed (exit 2): [main] scan start
    • ok/macros/define_conditional: compilation failed (exit 2): [main] scan start
    • ok/macros/define_hygiene: compilation failed (exit 2): [main] scan start
    • ok/macros/define_loop: compilation failed (exit 2): [main] scan start
    • ok/macros/define_nested: compilation failed (exit 2): [main] scan start
    • ok/macros/define_recursive_expand: compilation failed (exit 2): [main] scan start
    • ok/macros/simple_define: compilation failed (exit 2): [main] scan start
    • ok/arrays/array_literal: compilation failed (exit 3): [main] scan start
    • ok/arrays/array_pass: compilation failed (exit 3): [main] scan start
    • ok/arrays/array_size: compilation failed (exit 3): [main] scan start
    • ok/arrays/array_sum: compilation failed (exit 3): [main] scan start
    • (and 18 more…)

    🔖 Status

    ✅ Ready for review. All required tests pass and REPORT.md is present.

  18. amircalabel commented on Aug 16, 2026

    @amircalabel
    Author

    /regrade

  19. github-actions commented on Aug 16, 2026

    @github-actions

    ⏳ HULK Grading running on https://github.com/amircalabel/Hulk-compiler.git @ branch main...

  20. github-actions commented on Aug 16, 2026

    @github-actions

    🤖 HULK Grading Report — 2026-08-16 18:30 UTC

    Repo: https://github.com/amircalabel/Hulk-compiler.git

    📦 Build

    ✅ Build successful

    📄 Report

    ✅ REPORT.md found (2,822 words)

    🧪 Tests

    Category Passed Total Status
    ok/minimal 20 20 ✅
    ok/types 10 10 ✅
    ok/oop 10 10 ✅
    errors/lexical 6 6 ✅
    errors/syntactic 10 10 ✅
    errors/semantic 14 15 ⚠️
    ok/extras 2 10 ➖

    ❌ Failures

    • ok/extras/for_complex: compilation failed (exit 2): [main] scan start
    • ok/extras/for_even_count: compilation failed (exit 2): [main] scan start
    • ok/extras/for_function: compilation failed (exit 2): [main] scan start
    • ok/extras/for_let_body: compilation failed (exit 2): [main] scan start
    • ok/extras/for_loop: compilation failed (exit 2): [main] scan start
    • ok/extras/for_nested: compilation failed (exit 2): [main] scan start
    • ok/extras/range_count: compilation failed (exit 2): [main] scan start
    • ok/extras/range_sum: compilation failed (exit 2): [main] scan start
    • ok/macros/define_block: compilation failed (exit 2): [main] scan start
    • ok/macros/define_chain: compilation failed (exit 2): [main] scan start
    • ok/macros/define_conditional: compilation failed (exit 2): [main] scan start
    • ok/macros/define_hygiene: compilation failed (exit 2): [main] scan start
    • ok/macros/define_loop: compilation failed (exit 2): [main] scan start
    • ok/macros/define_nested: compilation failed (exit 2): [main] scan start
    • ok/macros/define_recursive_expand: compilation failed (exit 2): [main] scan start
    • ok/macros/simple_define: compilation failed (exit 2): [main] scan start
    • ok/arrays/array_literal: compilation failed (exit 3): [main] scan start
    • ok/arrays/array_pass: compilation failed (exit 3): [main] scan start
    • ok/arrays/array_size: compilation failed (exit 3): [main] scan start
    • ok/arrays/array_sum: compilation failed (exit 3): [main] scan start
    • (and 58 more…)

    🔖 Status

    ❌ Not ready for review (some required tests are failing).
    Fix the issues above and comment /regrade to re-run.

  21. amircalabel commented on Aug 16, 2026

    @amircalabel
    Author

    /regrade

  22. github-actions commented on Aug 16, 2026

    @github-actions

    ⏳ HULK Grading running on https://github.com/amircalabel/Hulk-compiler.git @ branch main...

  23. github-actions commented on Aug 16, 2026

    @github-actions

    🤖 HULK Grading Report — 2026-08-16 18:37 UTC

    Repo: https://github.com/amircalabel/Hulk-compiler.git

    📦 Build

    ✅ Build successful

    📄 Report

    ✅ REPORT.md found (2,822 words)

    🧪 Tests

    Category Passed Total Status
    ok/minimal 20 20 ✅
    ok/types 10 10 ✅
    ok/oop 10 10 ✅
    errors/lexical 6 6 ✅
    errors/syntactic 10 10 ✅
    errors/semantic 15 15 ✅
    ok/extras 2 10 ➖

    ❌ Failures

    • ok/extras/for_complex: compilation failed (exit 2): [main] scan start
    • ok/extras/for_even_count: compilation failed (exit 2): [main] scan start
    • ok/extras/for_function: compilation failed (exit 2): [main] scan start
    • ok/extras/for_let_body: compilation failed (exit 2): [main] scan start
    • ok/extras/for_loop: compilation failed (exit 2): [main] scan start
    • ok/extras/for_nested: compilation failed (exit 2): [main] scan start
    • ok/extras/range_count: compilation failed (exit 2): [main] scan start
    • ok/extras/range_sum: compilation failed (exit 2): [main] scan start
    • ok/macros/define_block: compilation failed (exit 2): [main] scan start
    • ok/macros/define_chain: compilation failed (exit 2): [main] scan start
    • ok/macros/define_conditional: compilation failed (exit 2): [main] scan start
    • ok/macros/define_hygiene: compilation failed (exit 2): [main] scan start
    • ok/macros/define_loop: compilation failed (exit 2): [main] scan start
    • ok/macros/define_nested: compilation failed (exit 2): [main] scan start
    • ok/macros/define_recursive_expand: compilation failed (exit 2): [main] scan start
    • ok/macros/simple_define: compilation failed (exit 2): [main] scan start
    • ok/arrays/array_literal: compilation failed (exit 3): [main] scan start
    • ok/arrays/array_pass: compilation failed (exit 3): [main] scan start
    • ok/arrays/array_size: compilation failed (exit 3): [main] scan start
    • ok/arrays/array_sum: compilation failed (exit 3): [main] scan start
    • (and 18 more…)

    🔖 Status

    ✅ Ready for review. All required tests pass and REPORT.md is present.

  24. amircalabel commented on Sep 6, 2026

    @amircalabel
    Author

    /regrade

  25. github-actions commented on Sep 6, 2026

    @github-actions

    ⏳ HULK Grading running on https://github.com/amircalabel/Hulk-compiler.git @ branch main...

  26. github-actions commented on Sep 6, 2026

    @github-actions

    🤖 HULK Grading Report — 2026-09-06 20:21 UTC

    Repo: https://github.com/amircalabel/Hulk-compiler.git

    📦 Build

    ✅ Build successful

    📄 Report

    ✅ REPORT.md found (2,822 words)

    🧪 Tests

    Category Passed Total Status
    ok/minimal 20 20 ✅
    ok/types 10 10 ✅
    ok/oop 10 10 ✅
    errors/lexical 6 6 ✅
    errors/syntactic 10 10 ✅
    errors/semantic 15 15 ✅
    ok/extras 10 10 ➖

    🔖 Status

    ✅ Ready for review. All required tests pass and REPORT.md is present.

  27. amircalabel commented on Sep 6, 2026

    @amircalabel
    Author

    /regrade

  28. github-actions commented on Sep 6, 2026

    @github-actions

    ⏳ HULK Grading running on https://github.com/amircalabel/Hulk-compiler.git @ branch main...

  29. github-actions commented on Sep 6, 2026

    @github-actions

    🤖 HULK Grading Report — 2026-09-06 20:48 UTC

    Repo: https://github.com/amircalabel/Hulk-compiler.git

    📦 Build

    ✅ Build successful

    📄 Report

    ✅ REPORT.md found (2,993 words)

    🧪 Tests

    Category Passed Total Status
    ok/minimal 20 20 ✅
    ok/types 10 10 ✅
    ok/oop 10 10 ✅
    errors/lexical 6 6 ✅
    errors/syntactic 10 10 ✅
    errors/semantic 15 15 ✅
    ok/extras 10 10 ➖

    🔖 Status

    ✅ Ready for review. All required tests pass and REPORT.md is present.

  30. amircalabel commented on Sep 14, 2026

    @amircalabel
    Author

    Listo para revision @apiad

  31. apiad commented on Sep 15, 2026

    @apiad
    Member

    Revisado. Reconstruí el compilador desde cero y corrí la suite oficial: 71/71 más todas las categorías extra. El for sobre range y los arreglos tipados están resueltos, y lambdas, protocolos y generadores funcionan de verdad.

    Notas finales: CMP 4 / LP 4.

    Compilación se mantiene en 4 por dos motivos:

    1. define_loop pasa por una rama de CodeGenerator.cpp que solo se activa si la función se llama repeat. Con la macro renombrada, el mismo programa imprime fail. Tus macros son funciones, no expansiones.
    2. Las trazas [main] … siguen saliendo por la salida de error y los errores siguen con columna 0, que era la tercera acción de la ficha.

    LP sube a 4: la §9 justifica la elección del backend frente a LLVM y la VM propia. No llega a 5 porque el informe afirma que la ejecución normal usa el intérprete, que el generador recibe el AST validado por el Resolver y el TypeInferer, y que la VM funciona. En ./hulk archivo.hulk solo corre el CodeGenerator, y la VM no se instancia en ningún sitio. Tampoco hay comparación con otros lenguajes ni crítica de HULK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    gradingCompiler project submission for automated grading

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions