文档章节

需要翻译的代码样本

钟元大老爷
 钟元大老爷
发布于 2018/07/18 17:42
字数 3009
阅读 19
收藏 0
F2

需要翻译的代码样本

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166

 

if(exports == null) {

exports = {};

}

exports.CONST = {};

exports.DATA = {};

exports.SYMBOL = {};

exports.LOCATION = {};

exports.MODULE = {};

exports.createNamespace = function(name) {

if (!exports[name]) {

exports[name] = {};

}

return exports[name];

}

;(function() {

var cls = exports.createNamespace("cls");

/// 状态机

cls.StateMachine = function() {

[Class("exports.cls.StateMachine")];

this.statOwner = null;

this.currState = null;

this.preState = null;

this.setCurrentState = function(state) {

this.currState = state;

}

this.setPreviousState = function(state) {

this.preState = state;

}

this.setStateCommand = function(state, cmd) {

if (state && state.hasOwnProperty(cmd)) {

state[cmd](statOwner);

}

}

this.changeState = function(state) {

this.setPreviousState(currState);

this.setStateCommand(preState, "exit");

this.setCurrentState(state);

this.setStateCommand(state, "enter");

}

this.changingState = function(state) { /// 立刻执行

this.changeState(state);

this.update();

}

this.update = function() {

this.setStateCommand(currState, "execute");

}

this.revertToPreState = function() {

this.changeState(preState);

}

this.getCurrState = function() {

return currState;

}

this.getPreviousState = function() {

return preState;

}

}

cls.State = function() {

return {"enter": null, "exit": null, "execute": null};

};

})();

;(function() {

var cls = exports.createNamespace("cls");

cls.peekMessage = function() {

return {

"msgId": 0,

"to": null,

"data": null

}

}

cls.Sender = function() {

[Class("exports.cls.Sender")]

this.getOneTarget = function(str) {

var notifies = exports.MODULE;

if (notifies == null) {

return {"procMessage": function(msg) {

console.log("undefined owner's call back");

}}

}

return notifies[str];

}

this.notifyByOne = function(target, message) {

if (target) {

target.procMessage(message);

} else {

console.log("[error]not find the target please check the message target");

}

}

this.notifyOnsending = function(message) {

if (message.to) {

this.notifyByOne(this.getOneTarget(message.to), message);

}

}

this.sendMessage = this.notifyOnsending

}

////模块

cls.Module = function() {

[Class("exports.cls.Module")]

this.modu_name = name;

this.fsm = null;

this.sendMessage = function(message) {

message.from = modu_name;

cls.sender.sendMessage(message);

}

this.getModuName = function() {

return this.modu_name;

}

this.procMessage = function() {

}

this.init = function (moduleName) {

exports.MODULE[moduleName] = this;

}

};

})();

exports.cls.sender = new exports.cls.Sender();

var message = exports.cls.peekMessage();

message.msgId = 0x201;

message.to = "AModule";

var AModule = new exports.cls.Module();

AModule.procMessage = function (message) {

$print("hellow MSG..")

}

AModule.init("AModule")

exports.cls.sender.sendMessage(message);

翻译结果

字节码

原始数据复制代码

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798

 

nglobals : 51

nfields : 47

codesize : 665 ops , 1006 total

GLOBALS =

global 0 : var __exports_defines__symblos__

global 1 : var exports

global 2 : function 1 nargs 1

global 3 : string "cls"

global 4 : string "exports.cls.StateMachine"

global 5 : function 30 nargs 1

global 6 : function 35 nargs 1

global 7 : var statOwner

global 8 : function 40 nargs 2

global 9 : var currState

global 10 : var preState

global 11 : string "exit"

global 12 : string "enter"

global 13 : function 63 nargs 1

global 14 : function 92 nargs 1

global 15 : string "execute"

global 16 : function 103 nargs 0

global 17 : function 112 nargs 0

global 18 : function 119 nargs 0

global 19 : function 122 nargs 0

global 20 : function 125 nargs 0

global 21 : var o:0

global 22 : function 192 nargs 0

global 23 : function 210 nargs 0

global 24 : var o:1

global 25 : function 227 nargs 0

global 26 : string "exports.cls.Sender"

global 27 : var o:2

global 28 : string "undefined owner's call back"

global 29 : function 245 nargs 1

global 30 : function 250 nargs 1

global 31 : string "[error]not find the target please check the message target"

global 32 : function 276 nargs 2

global 33 : function 291 nargs 1

global 34 : function 310 nargs 0

global 35 : string "exports.cls.Module"

global 36 : var name

global 37 : var modu_name

global 38 : function 346 nargs 1

global 39 : function 358 nargs 0

global 40 : function 362 nargs 0

global 41 : function 364 nargs 1

global 42 : function 375 nargs 0

global 43 : function 421 nargs 0

global 44 : string "new"

global 45 : function 445 nargs 2

global 46 : string "AModule"

global 47 : function 475 nargs 2

global 48 : string "hellow MSG.."

global 49 : function 505 nargs 1

global 50 : debug 1006 ops 238 bytes

FIELDS =

objget 154104FF

objset 154A200B

currState E7E0ADBF

preState 03E526EE

objfield 1A7EC563

setPreviousState EB621958

setStateCommand DDBD49FC

setCurrentState E9CD2DDA

changeState 29D11E81

update 07058609

__cls_name__ D0D1A680

statOwner 1BF9C3BF

changingState 1C815C24

revertToPreState D448728D

getCurrState F7374A49

getPreviousState 15202BE4

enter F0866D18

exit C31DF71E

execute CC0D0A35

createNamespace 08E2A3FF

StateMachine C8A78D96

State 1738E5F1

msgId 0EFF2C7C

to 0000657B

data C263562A

print C88B582D

MODULE F355E0AC

procMessage FF0954D1

getOneTarget 3D296EE1

notifyByOne 0E55D946

notifyOnsending 10AD7152

sendMessage 241D895F

from C3C2A56A

sender EB84C7B5

modu_name 1FDD59D7

fsm 004DCA80

getModuName 15A76A14

init C5BB3B10

peekMessage C766B56C

Sender 20193BD5

Module F567A8CC

cls 004B7DAA

CONST C84C3143

DATA 2D241E2A

SYMBOL 21605B58

LOCATION 3ECBFE35

new 0053D060

CODE =

000000 0 Jump 510

000002 1 AccGlobal 1

000004 2 Push

000005 3 AccStack1

000006 4 Hash

000007 5 Push

000008 6 AccBuiltin objget

00000A 7 Call 2

00000C 8 Not

00000D 9 Bool

00000E 10 JumpIfNot 21

000010 11 AccGlobal 1

000012 12 Push

000013 13 AccStack1

000014 14 Hash

000015 15 Push

000016 16 AccNull

000017 17 New

000018 18 Push

000019 19 AccBuiltin objset

00001B 20 Call 3

00001D 21 AccGlobal 1

00001F 22 Push

000020 23 AccStack1

000021 24 Hash

000022 25 Push

000023 26 AccBuiltin objget

000025 27 TailCall(2, 3)

000027 28 Ret 1

000029 29 Ret 1

00002B 30 AccThis

00002C 31 Push

00002D 32 AccStack1

00002E 33 SetField currState

000030 34 Ret 1

000032 35 AccThis

000033 36 Push

000034 37 AccStack1

000035 38 SetField preState

000037 39 Ret 1

000039 40 AccStack1

00003A 41 Bool

00003B 42 JumpIfNot 50

00003D 43 AccStack1

00003E 44 Push

00003F 45 AccStack1

000040 46 Hash

000041 47 Push

000042 48 AccBuiltin objfield

000044 49 Call 2

000046 50 Bool

000047 51 JumpIfNot 62

000049 52 AccGlobal 7

00004B 53 Push

00004C 54 AccStack 2

00004E 55 Push

00004F 56 AccStack 2

000051 57 Hash

000052 58 Push

000053 59 AccBuiltin objget

000055 60 Call 2

000057 61 TailCall(1, 3)

000059 62 Ret 2

00005B 63 AccGlobal 9

00005D 64 Push

00005E 65 AccThis

00005F 66 Push

000060 67 AccField setPreviousState

000062 68 ObjCall 1

000064 69 AccGlobal 10

000066 70 Push

000067 71 AccGlobal 11

000069 72 Push

00006A 73 AccThis

00006B 74 Push

00006C 75 AccField setStateCommand

00006E 76 ObjCall 2

000070 77 AccStack0

000071 78 Push

000072 79 AccThis

000073 80 Push

000074 81 AccField setCurrentState

000076 82 ObjCall 1

000078 83 AccStack0

000079 84 Push

00007A 85 AccGlobal 12

00007C 86 Push

00007D 87 AccThis

00007E 88 Push

00007F 89 AccField setStateCommand

000081 90 ObjCall 2

000083 91 Ret 1

000085 92 AccStack0

000086 93 Push

000087 94 AccThis

000088 95 Push

000089 96 AccField changeState

00008B 97 ObjCall 1

00008D 98 AccThis

00008E 99 Push

00008F 100 AccField update

000091 101 ObjCall 0

000093 102 Ret 1

000095 103 AccGlobal 9

000097 104 Push

000098 105 AccGlobal 15

00009A 106 Push

00009B 107 AccThis

00009C 108 Push

00009D 109 AccField setStateCommand

00009F 110 ObjCall 2

0000A1 111 Ret 0

0000A3 112 AccGlobal 10

0000A5 113 Push

0000A6 114 AccThis

0000A7 115 Push

0000A8 116 AccField changeState

0000AA 117 ObjCall 1

0000AC 118 Ret 0

0000AE 119 AccGlobal 9

0000B0 120 Ret 0

0000B2 121 Ret 0

0000B4 122 AccGlobal 10

0000B6 123 Ret 0

0000B8 124 Ret 0

0000BA 125 AccThis

0000BB 126 Push

0000BC 127 AccGlobal 4

0000BE 128 SetField __cls_name__

0000C0 129 AccThis

0000C1 130 Push

0000C2 131 AccNull

0000C3 132 SetField statOwner

0000C5 133 AccThis

0000C6 134 Push

0000C7 135 AccNull

0000C8 136 SetField currState

0000CA 137 AccThis

0000CB 138 Push

0000CC 139 AccNull

0000CD 140 SetField preState

0000CF 141 AccThis

0000D0 142 Push

0000D1 143 AccGlobal 5

0000D3 144 SetField setCurrentState

0000D5 145 AccThis

0000D6 146 Push

0000D7 147 AccGlobal 6

0000D9 148 SetField setPreviousState

0000DB 149 AccThis

0000DC 150 Push

0000DD 151 AccGlobal 8

0000DF 152 SetField setStateCommand

0000E1 153 AccThis

0000E2 154 Push

0000E3 155 AccGlobal 13

0000E5 156 SetField changeState

0000E7 157 AccThis

0000E8 158 Push

0000E9 159 AccGlobal 14

0000EB 160 SetField changingState

0000ED 161 AccThis

0000EE 162 Push

0000EF 163 AccGlobal 16

0000F1 164 SetField update

0000F3 165 AccThis

0000F4 166 Push

0000F5 167 AccGlobal 17

0000F7 168 SetField revertToPreState

0000F9 169 AccThis

0000FA 170 Push

0000FB 171 AccGlobal 18

0000FD 172 SetField getCurrState

0000FF 173 AccThis

000100 174 Push

000101 175 AccGlobal 19

000103 176 SetField getPreviousState

000105 177 AccThis

000106 178 New

000107 179 Push

000108 180 AccGlobal 0

00010A 181 Push

00010B 182 AccThis

00010C 183 AccField __cls_name__

00010E 184 Hash

00010F 185 Push

000110 186 AccStack 2

000112 187 Push

000113 188 AccBuiltin objset

000115 189 TailCall(3, 4)

000117 190 Pop 1

000119 191 Ret 0

00011B 192 AccGlobal 21

00011D 193 New

00011E 194 Push

00011F 195 Push

000120 196 AccNull

000121 197 SetField enter

000123 198 AccStack0

000124 199 Push

000125 200 AccNull

000126 201 SetField exit

000128 202 AccStack0

000129 203 Push

00012A 204 AccNull

00012B 205 SetField execute

00012D 206 AccStack0

00012E 207 Pop 1

000130 208 Ret 0

000132 209 Ret 0

000134 210 AccGlobal 3

000136 211 Push

000137 212 AccGlobal 1

000139 213 Push

00013A 214 AccField createNamespace

00013C 215 ObjCall 1

00013E 216 Push

00013F 217 AccStack0

000140 218 Push

000141 219 AccGlobal 20

000143 220 SetField StateMachine

000145 221 AccStack0

000146 222 Push

000147 223 AccGlobal 22

000149 224 SetField State

00014B 225 Pop 1

00014D 226 Ret 0

00014F 227 AccGlobal 24

000151 228 New

000152 229 Push

000153 230 Push

000154 231 AccInt 0

000156 232 SetField msgId

000158 233 AccStack0

000159 234 Push

00015A 235 AccNull

00015B 236 SetField to

00015D 237 AccStack0

00015E 238 Push

00015F 239 AccNull

000160 240 SetField data

000162 241 AccStack0

000163 242 Pop 1

000165 243 Ret 0

000167 244 Ret 0

000169 245 AccGlobal 28

00016B 246 Push

00016C 247 AccBuiltin print

00016E 248 TailCall(1, 2)

000170 249 Ret 1

000172 250 AccGlobal 1

000174 251 AccField MODULE

000176 252 Push

000177 253 AccStack0

000178 254 IsNull

000179 255 Bool

00017A 256 JumpIfNot 266

00017C 257 AccGlobal 27

00017E 258 New

00017F 259 Push

000180 260 Push

000181 261 AccGlobal 29

000183 262 SetField procMessage

000185 263 AccStack0

000186 264 Pop 1

000188 265 Ret 2

00018A 266 AccStack0

00018B 267 Push

00018C 268 AccStack 2

00018E 269 Hash

00018F 270 Push

000190 271 AccBuiltin objget

000192 272 TailCall(2, 4)

000194 273 Ret 2

000196 274 Pop 1

000198 275 Ret 1

00019A 276 AccStack1

00019B 277 Bool

00019C 278 JumpIfNot 286

00019E 279 AccStack0

00019F 280 Push

0001A0 281 AccStack 2

0001A2 282 Push

0001A3 283 AccField procMessage

0001A5 284 ObjCall 1

0001A7 285 Jump 290

0001A9 286 AccGlobal 31

0001AB 287 Push

0001AC 288 AccBuiltin print

0001AE 289 TailCall(1, 3)

0001B0 290 Ret 2

0001B2 291 AccStack0

0001B3 292 AccField to

0001B5 293 Bool

0001B6 294 JumpIfNot 309

0001B8 295 AccStack0

0001B9 296 AccField to

0001BB 297 Push

0001BC 298 AccThis

0001BD 299 Push

0001BE 300 AccField getOneTarget

0001C0 301 ObjCall 1

0001C2 302 Push

0001C3 303 AccStack1

0001C4 304 Push

0001C5 305 AccThis

0001C6 306 Push

0001C7 307 AccField notifyByOne

0001C9 308 ObjCall 2

0001CB 309 Ret 1

0001CD 310 AccThis

0001CE 311 Push

0001CF 312 AccGlobal 26

0001D1 313 SetField __cls_name__

0001D3 314 AccThis

0001D4 315 Push

0001D5 316 AccGlobal 30

0001D7 317 SetField getOneTarget

0001D9 318 AccThis

0001DA 319 Push

0001DB 320 AccGlobal 32

0001DD 321 SetField notifyByOne

0001DF 322 AccThis

0001E0 323 Push

0001E1 324 AccGlobal 33

0001E3 325 SetField notifyOnsending

0001E5 326 AccThis

0001E6 327 Push

0001E7 328 AccThis

0001E8 329 AccField notifyOnsending

0001EA 330 SetField sendMessage

0001EC 331 AccThis

0001ED 332 New

0001EE 333 Push

0001EF 334 AccGlobal 0

0001F1 335 Push

0001F2 336 AccThis

0001F3 337 AccField __cls_name__

0001F5 338 Hash

0001F6 339 Push

0001F7 340 AccStack 2

0001F9 341 Push

0001FA 342 AccBuiltin objset

0001FC 343 TailCall(3, 4)

0001FE 344 Pop 1

000200 345 Ret 0

000202 346 AccStack0

000203 347 Push

000204 348 AccGlobal 37

000206 349 SetField from

000208 350 AccStack0

000209 351 Push

00020A 352 AccEnv 0

00020C 353 AccField sender

00020E 354 Push

00020F 355 AccField sendMessage

000211 356 ObjCall 1

000213 357 Ret 1

000215 358 AccThis

000216 359 AccField modu_name

000218 360 Ret 0

00021A 361 Ret 0

00021C 362 AccNull

00021D 363 Ret 0

00021F 364 AccGlobal 1

000221 365 AccField MODULE

000223 366 Push

000224 367 AccStack1

000225 368 Hash

000226 369 Push

000227 370 AccThis

000228 371 Push

000229 372 AccBuiltin objset

00022B 373 TailCall(3, 4)

00022D 374 Ret 1

00022F 375 AccThis

000230 376 Push

000231 377 AccGlobal 35

000233 378 SetField __cls_name__

000235 379 AccThis

000236 380 Push

000237 381 AccGlobal 36

000239 382 SetField modu_name

00023B 383 AccThis

00023C 384 Push

00023D 385 AccNull

00023E 386 SetField fsm

000240 387 AccThis

000241 388 Push

000242 389 AccEnv 0

000244 390 Push

000245 391 AccGlobal 38

000247 392 MakeEnv 1

000249 393 SetField sendMessage

00024B 394 AccThis

00024C 395 Push

00024D 396 AccGlobal 39

00024F 397 SetField getModuName

000251 398 AccThis

000252 399 Push

000253 400 AccGlobal 40

000255 401 SetField procMessage

000257 402 AccThis

000258 403 Push

000259 404 AccGlobal 41

00025B 405 SetField init

00025D 406 AccThis

00025E 407 New

00025F 408 Push

000260 409 AccGlobal 0

000262 410 Push

000263 411 AccThis

000264 412 AccField __cls_name__

000266 413 Hash

000267 414 Push

000268 415 AccStack 2

00026A 416 Push

00026B 417 AccBuiltin objset

00026D 418 TailCall(3, 4)

00026F 419 Pop 1

000271 420 Ret 0

000273 421 AccGlobal 3

000275 422 Push

000276 423 AccGlobal 1

000278 424 Push

000279 425 AccField createNamespace

00027B 426 ObjCall 1

00027D 427 Push

00027E 428 AccStack0

00027F 429 Push

000280 430 AccGlobal 25

000282 431 SetField peekMessage

000284 432 AccStack0

000285 433 Push

000286 434 AccGlobal 34

000288 435 SetField Sender

00028A 436 AccStack0

00028B 437 Push

00028C 438 AccStack1

00028D 439 Push

00028E 440 AccGlobal 42

000290 441 MakeEnv 1

000292 442 SetField Module

000294 443 Pop 1

000296 444 Ret 0

000298 445 AccGlobal 1

00029A 446 AccField cls

00029C 447 Push

00029D 448 AccField StateMachine

00029F 449 ObjCall 0

0002A1 450 AccGlobal 1

0002A3 451 AccField cls

0002A5 452 Push

0002A6 453 AccField Sender

0002A8 454 ObjCall 0

0002AA 455 AccGlobal 1

0002AC 456 AccField cls

0002AE 457 Push

0002AF 458 AccField Module

0002B1 459 ObjCall 0

0002B3 460 AccStack1

0002B4 461 Push

0002B5 462 AccStack1

0002B6 463 Hash

0002B7 464 Push

0002B8 465 AccBuiltin objget

0002BA 466 Call 2

0002BC 467 Push

0002BD 468 AccStack0

0002BE 469 New

0002BF 470 Push

0002C0 471 AccStack0

0002C1 472 Ret 4

0002C3 473 Pop 2

0002C5 474 Ret 2

0002C7 475 AccGlobal 1

0002C9 476 AccField cls

0002CB 477 Push

0002CC 478 AccField StateMachine

0002CE 479 ObjCall 0

0002D0 480 AccGlobal 1

0002D2 481 AccField cls

0002D4 482 Push

0002D5 483 AccField Sender

0002D7 484 ObjCall 0

0002D9 485 AccGlobal 1

0002DB 486 AccField cls

0002DD 487 Push

0002DE 488 AccField Module

0002E0 489 ObjCall 0

0002E2 490 AccStack1

0002E3 491 Push

0002E4 492 AccStack1

0002E5 493 Hash

0002E6 494 Push

0002E7 495 AccBuiltin objget

0002E9 496 Call 2

0002EB 497 Push

0002EC 498 AccStack0

0002ED 499 New

0002EE 500 Push

0002EF 501 AccStack0

0002F0 502 Ret 4

0002F2 503 Pop 2

0002F4 504 Ret 2

0002F6 505 AccGlobal 48

0002F8 506 Push

0002F9 507 AccBuiltin print

0002FB 508 TailCall(1, 2)

0002FD 509 Ret 1

0002FF 510 AccNull

000300 511 New

000301 512 SetGlobal 21

000303 513 AccGlobal 21

000305 514 Push

000306 515 SetField enter

000308 516 AccGlobal 21

00030A 517 Push

00030B 518 SetField execute

00030D 519 AccGlobal 21

00030F 520 Push

000310 521 SetField exit

000312 522 AccNull

000313 523 New

000314 524 SetGlobal 24

000316 525 AccGlobal 24

000318 526 Push

000319 527 SetField data

00031B 528 AccGlobal 24

00031D 529 Push

00031E 530 SetField msgId

000320 531 AccGlobal 24

000322 532 Push

000323 533 SetField to

000325 534 AccNull

000326 535 New

000327 536 SetGlobal 27

000329 537 AccGlobal 27

00032B 538 Push

00032C 539 SetField procMessage

00032E 540 AccNull

00032F 541 New

000330 542 SetGlobal 0

000332 543 AccGlobal 1

000334 544 IsNull

000335 545 Bool

000336 546 JumpIfNot 550

000338 547 AccNull

000339 548 New

00033A 549 SetGlobal 1

00033C 550 AccGlobal 1

00033E 551 Push

00033F 552 AccNull

000340 553 New

000341 554 SetField CONST

000343 555 AccGlobal 1

000345 556 Push

000346 557 AccNull

000347 558 New

000348 559 SetField DATA

00034A 560 AccGlobal 1

00034C 561 Push

00034D 562 AccNull

00034E 563 New

00034F 564 SetField SYMBOL

000351 565 AccGlobal 1

000353 566 Push

000354 567 AccNull

000355 568 New

000356 569 SetField LOCATION

000358 570 AccGlobal 1

00035A 571 Push

00035B 572 AccNull

00035C 573 New

00035D 574 SetField MODULE

00035F 575 AccGlobal 1

000361 576 Push

000362 577 AccGlobal 2

000364 578 SetField createNamespace

000366 579 AccGlobal 23

000368 580 Push

000369 581 AccStack0

00036A 582 Call 0

00036C 583 AccGlobal 43

00036E 584 Push

00036F 585 AccStack0

000370 586 Call 0

000372 587 AccGlobal 1

000374 588 AccField cls

000376 589 Push

000377 590 AccGlobal 0

000379 591 Push

00037A 592 AccGlobal 44

00037C 593 Hash

00037D 594 Push

00037E 595 AccGlobal 45

000380 596 Push

000381 597 AccBuiltin objset

000383 598 Call 3

000385 599 JumpIfNot 601

000387 600 AccFalse

000388 601 JumpIf 610

00038A 602 AccGlobal 0

00038C 603 Push

00038D 604 AccGlobal 26

00038F 605 Push

000390 606 AccGlobal 0

000392 607 Push

000393 608 AccField new

000395 609 ObjCall 2

000397 610 SetField sender

000399 611 AccGlobal 1

00039B 612 AccField cls

00039D 613 Push

00039E 614 AccField peekMessage

0003A0 615 ObjCall 0

0003A2 616 Push

0003A3 617 AccStack0

0003A4 618 Push

0003A5 619 AccInt 513

0003A7 620 SetField msgId

0003A9 621 AccStack0

0003AA 622 Push

0003AB 623 AccGlobal 46

0003AD 624 SetField to

0003AF 625 AccGlobal 0

0003B1 626 Push

0003B2 627 AccGlobal 44

0003B4 628 Hash

0003B5 629 Push

0003B6 630 AccGlobal 47

0003B8 631 Push

0003B9 632 AccBuiltin objset

0003BB 633 Call 3

0003BD 634 JumpIfNot 636

0003BF 635 AccFalse

0003C0 636 JumpIf 645

0003C2 637 AccGlobal 0

0003C4 638 Push

0003C5 639 AccGlobal 35

0003C7 640 Push

0003C8 641 AccGlobal 0

0003CA 642 Push

0003CB 643 AccField new

0003CD 644 ObjCall 2

0003CF 645 Push

0003D0 646 AccStack0

0003D1 647 Push

0003D2 648 AccGlobal 49

0003D4 649 SetField procMessage

0003D6 650 AccGlobal 46

0003D8 651 Push

0003D9 652 AccStack1

0003DA 653 Push

0003DB 654 AccField init

0003DD 655 ObjCall 1

0003DF 656 AccStack1

0003E0 657 Push

0003E1 658 AccGlobal 1

0003E3 659 AccField cls

0003E5 660 AccField sender

0003E7 661 Push

0003E8 662 AccField sendMessage

0003EA 663 ObjCall 1

0003EC 664 Pop 4

END

© 著作权归作者所有

钟元大老爷

钟元大老爷

粉丝 5
博文 60
码字总数 31258
作品 4
海淀
架构师
私信 提问
TensorFlow从1到2(十)带注意力机制的神经网络机器翻译

基本概念 机器翻译和语音识别是最早开展的两项人工智能研究。今天也取得了最显著的商业成果。 早先的机器翻译实际脱胎于电子词典,能力更擅长于词或者短语的翻译。那时候的翻译通常会将一句话...

俺踏月色而来
04/30
0
0
Weka开发[9]—KMeans源码介绍

以前介绍的都是分类的内容,这一次介绍聚类,以最简单的SimpleKMeans源码为例。 分类中训练一个分类器是用buildClassifier(),在聚类中学习一个Clusterer是用buildCluster()。分类中分类一个...

pior
2015/10/17
241
0
TensorFlow-4: tf.contrib.learn 快速入门

学习资料: https://www.tensorflow.org/getstarted/tflearn 相应的中文翻译: http://studyai.site/2017/03/05/%E3%80%90Tensorflow%20r1.0%20%E6%96%87%E6%A1%A3%E7%BF%BB%E8%AF%91%E3%80......

aliceyangxi1987
2017/04/26
0
0
入门Python神经机器翻译,这是一篇非常精简的实战指南

选自Medium,作者:Susan Li,机器之心编译。 机器翻译(MT)是一项极具挑战性的任务,其研究如何使用计算机将文本或是语音从一种语言翻译成另一种语言。本文借助 Keras 从最基本的文本加载与...

机器之心
2018/07/09
0
0
基于TensorFlow框架的Seq2Seq英法机器翻译模型

  前言   本篇文章的内容主要是基于英法平行语料(English-French Parallel Corpus)来实现一个简单的英法翻译模型,代码框架采用TensorFlow 1.6。   本篇文章与去年我在知乎专栏《机器...

深度学习
2018/05/23
0
0

没有更多内容

加载失败,请刷新页面

加载更多

同名依赖,多次引入导致的程序错误

表现: 本地测试正常,打包上线后报错找不到某个方法(缺少依赖),检测依赖发现,同名依赖有两个版本。 解决:删除一个,程序正常

避难所
24分钟前
3
0
在HTML中的下拉框中实现超连接

<!DOCTYPE html><html lang="zh-CN"><head> <meta charset="UTF-8"> <link rel="canonical" href="https://blog.csdn.net/weixin_34228617/article/details/86130280"/> ......

mickelfeng
29分钟前
3
0
Content7关闭防火墙命令

在外部访问CentOS中部署应用时,需要关闭防火墙。 关闭防火墙命令:systemctl stop firewalld.service 开启防火墙:systemctl start firewalld.service 关闭开机自启动:systemctl disable f...

无名氏的程序员
30分钟前
3
0
分布式存储原理:TiDB

浮躁的码农
43分钟前
6
0
CSS实现圆角边框的完美解决方案

css实现图片圆角,兼容所有浏览器: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 <style type= "text/css" > /*通用样式--容器宽度值*/ .s......

前端老手
58分钟前
5
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部