1. 28 Dec, 2021 2 commits
  2. 27 Dec, 2021 3 commits
  3. 25 Dec, 2021 2 commits
  4. 23 Dec, 2021 1 commit
  5. 22 Dec, 2021 2 commits
  6. 21 Dec, 2021 2 commits
  7. 20 Dec, 2021 3 commits
  8. 19 Dec, 2021 1 commit
  9. 18 Dec, 2021 1 commit
  10. 17 Dec, 2021 2 commits
    • dearblue's avatar
      Print error before cleanup in `codegen_error()` · 26338fe6
      dearblue authored
      Previously, it always pointed to the highest scope as the location of the error.
      
        - example code `code.rb`
      
          ```ruby
          huge_num = "1" + "0" * 300; eval <<CODE, nil, "test.rb", 1
          class Object
            module A
              #{huge_num}
            end
          end
          CODE
          ```
      
        - Before this patch
      
          ```console
          % bin/mruby code.rb
          test.rb:1: integer too big
          trace (most recent call last):
                  [1] code.rb:1
          code.rb:1:in eval: codegen error (ScriptError)
          ```
      
        - After this patch
      
          ```console
          % bin/mruby code.rb
          test.rb:3: integer too big
          trace (most recent call last):
                  [1] code.rb:1
          code.rb:1:in eval: codegen error (ScriptError)
          ```
      26338fe6
    • dearblue's avatar
      Add `bin/mrbc --no-ext-ops` switch · 6b8582c9
      dearblue authored
      Print an error if `OP_EXT[123]` is needed when generating mruby binary.
      This may be useful for mruby/c.
      
      Inspired by #5590.
      6b8582c9
  11. 16 Dec, 2021 3 commits
  12. 15 Dec, 2021 2 commits
  13. 14 Dec, 2021 1 commit
  14. 13 Dec, 2021 7 commits
  15. 12 Dec, 2021 1 commit
  16. 09 Dec, 2021 1 commit
  17. 08 Dec, 2021 4 commits
  18. 07 Dec, 2021 1 commit
  19. 06 Dec, 2021 1 commit