-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathout2.json
1 lines (1 loc) · 2.11 KB
/
out2.json
1
[{"_type":"IE","type":"import","value":"println"},{"_type":"IE","type":"import","value":"printstr"},{"_type":"IE","type":"import","value":"push_back"},{"_type":"IE","type":"import","value":"set"},{"_type":"IE","type":"import","value":"retr"},{"_type":"IE","type":"import","value":"alloc"},{"_type":"IE","type":"import","value":"malloc"},{"_type":"FDECL","_value":"main","_data":[{"_type":"LITERAL","type":"WORD","_value":"argc","_data":[]},{"_type":"LITERAL","type":"WORD","_value":"argv","_data":[]}],"body":[{"_type":"FCALL","_ftype":"NFCALL","_value":"printstr","_data":[{"_type":"LITERAL","type":"STRING","_value":"hi","_data":[]},{"_type":"LITERAL","type":"NUMBER","_value":"2","_data":[]}]},{"_type":"ASSIGN","name":"vec","value":"2"},{"_type":"REFER","value":"vec"},{"_type":"FCALL","_ftype":"NFCALL","_value":"push_back","_data":[{"_type":"LITERAL","type":"WORD","_value":"v","_data":[]},{"_type":"LITERAL","type":"STRING","_value":"ch","_data":[]}]},{"_type":"ASSIGN","name":"v0","value":"retr"},{"_type":"FCALL","_ftype":"NFCALL","_value":"printstr","_data":[{"_type":"LITERAL","type":"WORD","_value":"v0","_data":[]},{"_type":"LITERAL","type":"NUMBER","_value":"2","_data":[]}]},{"_type":"FCALL","_ftype":"NFCALL","_value":"push_back","_data":[{"_type":"LITERAL","type":"WORD","_value":"v","_data":[]},{"_type":"LITERAL","type":"STRING","_value":"sh","_data":[]}]},{"_type":"ASSIGN","name":"v1","value":"retr"},{"_type":"FCALL","_ftype":"NFCALL","_value":"printstr","_data":[{"_type":"LITERAL","type":"WORD","_value":"v1","_data":[]},{"_type":"LITERAL","type":"NUMBER","_value":"2","_data":[]}]},{"_type":"ASSIGN","name":"ap","value":"alloc"},{"_type":"FCALL","_ftype":"NFCALL","_value":"malloc","_data":[{"_type":"LITERAL","type":"WORD","_value":"ap","_data":[]},{"_type":"LITERAL","type":"STRING","_value":"hi","_data":[]}]},{"_type":"FCALL","_ftype":"NFCALL","_value":"printstr","_data":[{"_type":"PNTR","type":"DEREF","value":"ap"},{"_type":"LITERAL","type":"NUMBER","_value":"2","_data":[]}]},{"_type":"LCLDEF","type":"aa","value":"ap"},{"_type":"LCLASS","type":"aa","value":"4"},{"_type":"RET","value":"none","type":"DROPPED SUPPORT FOR C"}]}]