yamanekko / mrb_parser Goto Github PK
View Code? Open in Web Editor NEWmrb (mruby bytecode) parser
License: MIT License
mrb (mruby bytecode) parser
License: MIT License
$ hexdump -C t1.mrb
00000000 52 49 54 45 30 30 30 33 9a a8 00 00 00 cd 4d 41 |RITE0003......MA|
00000010 54 5a 30 30 30 30 49 52 45 50 00 00 00 96 30 30 |TZ0000IREP....00|
00000020 30 30 00 00 00 46 00 01 00 04 00 01 00 00 00 07 |00...F..........|
00000030 00 80 00 48 01 00 00 c0 00 80 00 46 00 80 00 06 |...H.......F....|
00000040 01 00 00 3d 00 80 00 a0 00 00 00 4a 00 00 00 01 |...=.......J....|
00000050 00 00 05 77 6f 72 6c 64 00 00 00 01 00 05 68 65 |...world......he|
00000060 6c 6c 6f 00 00 00 00 4a 00 03 00 06 00 00 00 00 |llo....J........|
00000070 00 07 00 00 02 00 00 26 01 80 00 06 02 00 00 3d |.......&.......=|
00000080 02 80 40 01 02 01 40 3e 01 80 00 a0 01 80 00 29 |..@...@>.......)|
00000090 00 00 00 02 00 00 07 48 65 6c 6c 6f 2c 20 00 00 |.......Hello, ..|
000000a0 00 00 00 00 01 00 04 70 75 74 73 00 4c 56 41 52 |.......puts.LVAR|
000000b0 00 00 00 19 00 00 00 01 00 03 6d 73 67 00 00 00 |..........msg...|
000000c0 01 ff ff 00 00 45 4e 44 00 00 00 00 08 |.....END.....|
000000cd
$bin/mrb_parser ./t1.mrb
mrb_parser-0.1.0/lib/mrb_parser/utils.rb:17:in read_format': undefined method
unpack' for nil:NilClass (NoMethodError)
from / mrb_parser-0.1.0/lib/mrb_parser/utils.rb:25:in read_uint8' from / /mrb_parser-0.1.0/lib/mrb_parser/irep_record.rb:48:in
block in parse_pool'
...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.