mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
56e5210cde
I want to use more complicated macros with MJIT. For example: ``` # define SHAPE_MASK (((unsigned int)1 << SHAPE_BITS) - 1) ``` This commit adds a simple recursive descent parser that produces an AST and a small visitor that converts the AST to Ruby. |
||
---|---|---|
.. | ||
c_32.rb | ||
c_64.rb | ||
c_pointer.rb | ||
c_type.rb | ||
compiler.rb |