3 * A table of numbers, generated by a script, is supposedly not copyrightable.
6 #ifndef AJLA_PCODE_OP_H
7 #define AJLA_PCODE_OP_H
10 #define P_BinaryConstOp 2
13 #define P_Copy_Type_Cast 5
18 #define P_Load_Local_Type 10
22 #define P_Call_Indirect 14
23 #define P_Load_Const 15
24 #define P_Structured_Write 16
25 #define P_Record_Type 17
26 #define P_Option_Type 18
27 #define P_Record_Create 19
28 #define P_Record_Load_Slot 20
29 #define P_Record_Load 21
30 #define P_Option_Create 22
31 #define P_Option_Load 23
32 #define P_Option_Test 24
33 #define P_Option_Ord 25
34 #define P_Array_Flexible 26
35 #define P_Array_Fixed 27
36 #define P_Array_Create 28
37 #define P_Array_Fill 29
38 #define P_Array_String 30
39 #define P_Array_Unicode 31
40 #define P_Array_Load 32
41 #define P_Array_Len 33
42 #define P_Array_Len_Greater_Than 34
43 #define P_Array_Sub 35
44 #define P_Array_Skip 36
45 #define P_Array_Append 37
46 #define P_Array_Append_One 38
47 #define P_Array_Flatten 39
49 #define P_Jmp_False 41
53 #define P_Return_Vars 45
55 #define P_Checkpoint 47
56 #define P_Line_Info 48
72 #define T_Integer8 -13
73 #define T_Integer16 -14
74 #define T_Integer32 -15
75 #define T_Integer64 -16
76 #define T_Integer128 -17
82 #define T_EmptyOption -23
83 #define T_FlatOption -24
84 #define T_Undetermined -25
85 #define T_TypeOfType -26
87 #define T_UnknownType -28
88 #define T_InvalidType -29
89 #define T_InferredType -30
91 #define Structured_Record 1
92 #define Structured_Option 2
93 #define Structured_Array 3
95 #define VarFlag_Must_Be_Flat 1
96 #define VarFlag_Must_Be_Data 2
98 #define Flag_Free_Argument 1
99 #define Flag_Evaluate 2
100 #define Flag_Borrow 4
101 #define Flag_Array_Fill_Sparse 8
102 #define Flag_Op_Strict 16
103 #define Flag_Return_Elided 32
104 #define Flag_Index_In_Range 64
105 #define Flag_Fused_Bin_Jmp 128
108 #define Bin_Subtract 1
109 #define Bin_Multiply 2
110 #define Bin_Divide_Int 3
111 #define Bin_Divide_Real 4
126 #define Bin_NotEqual 19
128 #define Bin_LessEqual 21
129 #define Bin_Greater 22
130 #define Bin_GreaterEqual 23
166 #define Un_Mantissa 59
167 #define Un_Exponent 60
168 #define Un_NextNumber 61
169 #define Un_PrevNumber 62
170 #define Un_ConvertToInt 63
171 #define Un_ConvertFromInt 64
172 #define Un_IsException 65
173 #define Un_ExceptionClass 66
174 #define Un_ExceptionType 67
175 #define Un_ExceptionAux 68
176 #define Un_SystemProperty 69
179 #define Fn_Function 1
184 #define Local_Type_Record 0
185 #define Local_Type_Flat_Record 1
186 #define Local_Type_Flat_Array 2
188 #define Call_Mode_Unspecified 0
189 #define Call_Mode_Normal 1
190 #define Call_Mode_Strict 2
191 #define Call_Mode_Spark 3
192 #define Call_Mode_Lazy 4
193 #define Call_Mode_Inline 5
194 #define Call_Mode_Cache 6
195 #define Call_Mode_Save 7
196 #define Call_Mode_Type 8
197 #define Call_Mode_Flat 9
199 #define SystemProperty_OS 1
200 #define SystemProperty_Charset 2
201 #define SystemProperty_Charset_Console 3
202 #define SystemProperty_Fixed 4
203 #define SystemProperty_Real 5
204 #define SystemProperty_Privileged 6
205 #define SystemProperty_Compile 7
207 #define SystemProperty_OS_Posix 1
208 #define SystemProperty_OS_DOS 2
209 #define SystemProperty_OS_OS2 3
210 #define SystemProperty_OS_Cygwin 4
211 #define SystemProperty_OS_Windows 5
213 #define IO_Exception_Make 0
214 #define IO_Exception_String 1
215 #define IO_Exception_Payload 2
216 #define IO_Exception_Stack 3
217 #define IO_N_Std_Handles 4
218 #define IO_Get_Std_Handle 5
219 #define IO_Get_Args 6
220 #define IO_Get_Environment 7
221 #define IO_Stream_Open_Read 8
222 #define IO_Stream_Read_Partial 9
223 #define IO_Stream_Open_Write 10
224 #define IO_Stream_Write 11
225 #define IO_Read_Console_Packet 12
226 #define IO_Write_Console_Packet 13
228 #define IO_Block_Open 15
229 #define IO_Block_Read 16
230 #define IO_Block_Write 17
232 #define IO_FTruncate 19
233 #define IO_FAllocate 20
234 #define IO_CloneRange 21
237 #define IO_Root_Dir 24
238 #define IO_Lib_Path 25
239 #define IO_Open_Dir 26
240 #define IO_Read_Dir 27
241 #define IO_Dir_Path 28
242 #define IO_DMonitor_Prepare 29
243 #define IO_DMonitor_Wait 30
246 #define IO_FStatFS 33
247 #define IO_DStatFS 34
248 #define IO_ReadLink 35
249 #define IO_Dir_Action 36
250 #define IO_Dir2_Action 37
253 #define IO_Tty_Size 40
254 #define IO_Tty_Background 41
255 #define IO_Tty_Foreground 42
257 #define IO_GetHostName 44
260 #define IO_GetTime 47
261 #define IO_TimeToCalendar 48
262 #define IO_CalendarToTime 49
267 #define IO_Atomic_Enter 54
268 #define IO_Atomic_Exit 55
269 #define IO_Wait_For_Dereferenced 56
270 #define IO_Int_To_Native 57
271 #define IO_Native_To_Int 58
273 #define IO_Connect 60
274 #define IO_Connect_Wait 61
278 #define IO_Get_Sock_Name 65
279 #define IO_Get_Peer_Name 66
280 #define IO_Recv_From 67
281 #define IO_Send_To 68
282 #define IO_Get_Sock_Opt 69
283 #define IO_Set_Sock_Opt 70
284 #define IO_Get_Addr_Info 71
285 #define IO_Get_Name_Info 72
286 #define IO_MsgQueue_New 73
287 #define IO_MsgQueue_Send 74
288 #define IO_MsgQueue_Receive 75
289 #define IO_MsgQueue_Wait 76
290 #define IO_MsgQueue_Is_Nonempty 77
291 #define IO_Signal_Handle 78
292 #define IO_Signal_Prepare 79
293 #define IO_Signal_Wait 80
294 #define IO_Consume_Parameters 81
295 #define IO_Load_Program 82
296 #define IO_Get_Function_Ptr 83
297 #define IO_Get_SubFunctions 84
298 #define IO_Load_Optimized_Pcode 85
299 #define IO_Register_Dependence 86
300 #define IO_Deep_Eval 87
301 #define IO_Evaluate 88
303 #define IO_StackTrace 90
304 #define IO_TraceCtl 91
305 #define IO_FFI_Get_Size_Alignment 92
306 #define IO_FFI_Create_Structure 93
307 #define IO_FFI_Structure_Offset 94
308 #define IO_FFI_Poke 95
309 #define IO_FFI_Peek 96
310 #define IO_FFI_Poke_Array 97
311 #define IO_FFI_Peek_Array 98
312 #define IO_FFI_Handle_To_Number 99
313 #define IO_FFI_Number_To_Handle 100
314 #define IO_FFI_Create_Function 101
315 #define IO_FFI_Call_Function 102
316 #define IO_FFI_Encode_Real 103
317 #define IO_FFI_Decode_Real 104
318 #define IO_FFI_Destructor_New 105
319 #define IO_FFI_Destructor_Allocate 106
320 #define IO_FFI_Destructor_Free 107
321 #define IO_FFI_Destructor_Call 108
324 #define IO_Open_Flag_Read 1
325 #define IO_Open_Flag_Write 2
326 #define IO_Open_Flag_Append 4
327 #define IO_Open_Flag_Create 8
328 #define IO_Open_Flag_Must_Create 16
329 #define IO_Open_Flag_No_Follow 32
330 #define IO_Open_Flag_N 64
332 #define IO_Stat_Flag_DevMajor 1
333 #define IO_Stat_Flag_DevMinor 2
334 #define IO_Stat_Flag_Inode 4
335 #define IO_Stat_Flag_Type 8
336 #define IO_Stat_Flag_Mode 16
337 #define IO_Stat_Flag_NLink 32
338 #define IO_Stat_Flag_UID 64
339 #define IO_Stat_Flag_GID 128
340 #define IO_Stat_Flag_RDevMajor 256
341 #define IO_Stat_Flag_RDevMinor 512
342 #define IO_Stat_Flag_Size 1024
343 #define IO_Stat_Flag_OptimalIOSize 2048
344 #define IO_Stat_Flag_Allocated 4096
345 #define IO_Stat_Flag_ATime 8192
346 #define IO_Stat_Flag_MTime 16384
347 #define IO_Stat_Flag_CTime 32768
349 #define IO_Stat_Type_File 1
350 #define IO_Stat_Type_Directory 2
351 #define IO_Stat_Type_Link 3
352 #define IO_Stat_Type_Pipe 4
353 #define IO_Stat_Type_CharDev 5
354 #define IO_Stat_Type_BlockDev 6
355 #define IO_Stat_Type_Socket 7
357 #define IO_StatFS_Flag_BSize 1
358 #define IO_StatFS_Flag_FrSize 2
359 #define IO_StatFS_Flag_FrTotal 4
360 #define IO_StatFS_Flag_FrFree 8
361 #define IO_StatFS_Flag_FrAvail 16
362 #define IO_StatFS_Flag_InTotal 32
363 #define IO_StatFS_Flag_InFree 64
364 #define IO_StatFS_Flag_InAvail 128
365 #define IO_StatFS_Flag_FSId 256
366 #define IO_StatFS_Flag_Flags 512
367 #define IO_StatFS_Flag_NameLen 1024
369 #define IO_StatFS_ST_ReadOnly 1
370 #define IO_StatFS_ST_NoSuid 2
371 #define IO_StatFS_ST_NoDev 4
372 #define IO_StatFS_ST_NoExec 8
373 #define IO_StatFS_ST_Synchronous 16
374 #define IO_StatFS_ST_MandLock 32
375 #define IO_StatFS_ST_NoAtime 64
376 #define IO_StatFS_ST_NoDirAtime 128
377 #define IO_StatFS_ST_RelAtime 256
379 #define IO_UName_Flag_Ajla_Version 1
380 #define IO_UName_Flag_Flavor 2
381 #define IO_UName_Flag_System 4
382 #define IO_UName_Flag_Release 8
383 #define IO_UName_Flag_Version 16
384 #define IO_UName_Flag_Machine 32
386 #define IO_Action_Rm 1
387 #define IO_Action_Rm_Dir 2
388 #define IO_Action_Mk_Dir 3
389 #define IO_Action_Mk_Pipe 4
390 #define IO_Action_Mk_Socket 5
391 #define IO_Action_Mk_CharDev 6
392 #define IO_Action_Mk_BlockDev 7
393 #define IO_Action_Mk_SymLink 8
394 #define IO_Action_Mk_Link 9
395 #define IO_Action_Rename 10
396 #define IO_Action_ChMod 11
397 #define IO_Action_ChOwn 12
398 #define IO_Action_LChOwn 13
399 #define IO_Action_UTime 14
400 #define IO_Action_LUTime 15
402 #define IO_Stty_Flag_Raw 1
403 #define IO_Stty_Flag_Noecho 2
404 #define IO_Stty_Flag_Nosignal 4
405 #define IO_Stty_Flag_NoCRLF 8
414 #define AJLA_ERROR_BASE 1
415 #define AJLA_ERROR_UNKNOWN_ERROR 1
416 #define AJLA_ERROR_OUT_OF_MEMORY 2
417 #define AJLA_ERROR_SIZE_OVERFLOW 3
418 #define AJLA_ERROR_INT_TOO_LARGE 4
419 #define AJLA_ERROR_DOESNT_FIT 5
420 #define AJLA_ERROR_INVALID_OPERATION 6
421 #define AJLA_ERROR_NOT_SUPPORTED 7
422 #define AJLA_ERROR_NEGATIVE_INDEX 8
423 #define AJLA_ERROR_INDEX_OUT_OF_RANGE 9
424 #define AJLA_ERROR_OPTION_DOESNT_MATCH 10
425 #define AJLA_ERROR_RECORD_FIELD_NOT_INITIALIZED 11
426 #define AJLA_ERROR_ARRAY_ENTRY_NOT_INITIALIZED 12
427 #define AJLA_ERROR_NOT_FOUND 13
428 #define AJLA_ERROR_NON_ABSOLUTE_PATH 14
429 #define AJLA_ERROR_ABORT 15
430 #define AJLA_ERROR_NAN 16
431 #define AJLA_ERROR_INFINITY 17
432 #define AJLA_ERROR_SYSTEM_RETURNED_INVALID_DATA 18
433 #define AJLA_ERROR_COMPILER_ERROR 19
434 #define AJLA_ERROR_OPTIMIZER_ERROR 20
435 #define AJLA_ERROR_SYSTEM 21
436 #define AJLA_ERROR_ERRNO 22
437 #define AJLA_ERROR_OS2 23
438 #define AJLA_ERROR_OS2_SOCKET 24
439 #define AJLA_ERROR_WIN32 25
440 #define AJLA_ERROR_H_ERRNO 26
441 #define AJLA_ERROR_GAI 27
442 #define AJLA_ERROR_SUBPROCESS 28
443 #define AJLA_ERROR_LIBRARY_NOT_FOUND 29
444 #define AJLA_ERROR_SYMBOL_NOT_FOUND 30
445 #define AJLA_ERROR_EXIT 31
446 #define AJLA_ERROR_USER 32
447 #define AJLA_ERROR_USER2 33
448 #define AJLA_ERROR_USER3 34
449 #define AJLA_ERROR_N 35
451 #define SYSTEM_ERROR_BASE 1
452 #define SYSTEM_ERROR_EPERM 1
453 #define SYSTEM_ERROR_ENOENT 2
454 #define SYSTEM_ERROR_ESRCH 3
455 #define SYSTEM_ERROR_EINTR 4
456 #define SYSTEM_ERROR_EIO 5
457 #define SYSTEM_ERROR_ENXIO 6
458 #define SYSTEM_ERROR_E2BIG 7
459 #define SYSTEM_ERROR_ENOEXEC 8
460 #define SYSTEM_ERROR_EBADF 9
461 #define SYSTEM_ERROR_ECHILD 10
462 #define SYSTEM_ERROR_EAGAIN 11
463 #define SYSTEM_ERROR_ENOMEM 12
464 #define SYSTEM_ERROR_EACCES 13
465 #define SYSTEM_ERROR_EFAULT 14
466 #define SYSTEM_ERROR_ENOTBLK 15
467 #define SYSTEM_ERROR_EBUSY 16
468 #define SYSTEM_ERROR_EEXIST 17
469 #define SYSTEM_ERROR_EXDEV 18
470 #define SYSTEM_ERROR_ENODEV 19
471 #define SYSTEM_ERROR_ENOTDIR 20
472 #define SYSTEM_ERROR_EISDIR 21
473 #define SYSTEM_ERROR_EINVAL 22
474 #define SYSTEM_ERROR_ENFILE 23
475 #define SYSTEM_ERROR_EMFILE 24
476 #define SYSTEM_ERROR_ENOTTY 25
477 #define SYSTEM_ERROR_ETXTBSY 26
478 #define SYSTEM_ERROR_EFBIG 27
479 #define SYSTEM_ERROR_ENOSPC 28
480 #define SYSTEM_ERROR_ESPIPE 29
481 #define SYSTEM_ERROR_EROFS 30
482 #define SYSTEM_ERROR_EMLINK 31
483 #define SYSTEM_ERROR_EPIPE 32
484 #define SYSTEM_ERROR_EDOM 33
485 #define SYSTEM_ERROR_ERANGE 34
486 #define SYSTEM_ERROR_EDEADLK 35
487 #define SYSTEM_ERROR_ENAMETOOLONG 36
488 #define SYSTEM_ERROR_ENOLCK 37
489 #define SYSTEM_ERROR_ENOSYS 38
490 #define SYSTEM_ERROR_ENOTEMPTY 39
491 #define SYSTEM_ERROR_ELOOP 40
492 #define SYSTEM_ERROR_ENOMSG 41
493 #define SYSTEM_ERROR_EIDRM 42
494 #define SYSTEM_ERROR_ECHRNG 43
495 #define SYSTEM_ERROR_EL2NSYNC 44
496 #define SYSTEM_ERROR_EL3HLT 45
497 #define SYSTEM_ERROR_EL3RST 46
498 #define SYSTEM_ERROR_ELNRNG 47
499 #define SYSTEM_ERROR_EUNATCH 48
500 #define SYSTEM_ERROR_ENOCSI 49
501 #define SYSTEM_ERROR_EL2HLT 50
502 #define SYSTEM_ERROR_EBADE 51
503 #define SYSTEM_ERROR_EBADR 52
504 #define SYSTEM_ERROR_EXFULL 53
505 #define SYSTEM_ERROR_ENOANO 54
506 #define SYSTEM_ERROR_EBADRQC 55
507 #define SYSTEM_ERROR_EBADSLT 56
508 #define SYSTEM_ERROR_EBFONT 57
509 #define SYSTEM_ERROR_ENOSTR 58
510 #define SYSTEM_ERROR_ENODATA 59
511 #define SYSTEM_ERROR_ETIME 60
512 #define SYSTEM_ERROR_ENOSR 61
513 #define SYSTEM_ERROR_ENONET 62
514 #define SYSTEM_ERROR_ENOPKG 63
515 #define SYSTEM_ERROR_EREMOTE 64
516 #define SYSTEM_ERROR_ENOLINK 65
517 #define SYSTEM_ERROR_EADV 66
518 #define SYSTEM_ERROR_ESRMNT 67
519 #define SYSTEM_ERROR_ECOMM 68
520 #define SYSTEM_ERROR_EPROTO 69
521 #define SYSTEM_ERROR_EMULTIHOP 70
522 #define SYSTEM_ERROR_EDOTDOT 71
523 #define SYSTEM_ERROR_EBADMSG 72
524 #define SYSTEM_ERROR_EOVERFLOW 73
525 #define SYSTEM_ERROR_ENOTUNIQ 74
526 #define SYSTEM_ERROR_EBADFD 75
527 #define SYSTEM_ERROR_EREMCHG 76
528 #define SYSTEM_ERROR_ELIBACC 77
529 #define SYSTEM_ERROR_ELIBBAD 78
530 #define SYSTEM_ERROR_ELIBSCN 79
531 #define SYSTEM_ERROR_ELIBMAX 80
532 #define SYSTEM_ERROR_ELIBEXEC 81
533 #define SYSTEM_ERROR_EILSEQ 82
534 #define SYSTEM_ERROR_ERESTART 83
535 #define SYSTEM_ERROR_ESTRPIPE 84
536 #define SYSTEM_ERROR_EUSERS 85
537 #define SYSTEM_ERROR_ENOTSOCK 86
538 #define SYSTEM_ERROR_EDESTADDRREQ 87
539 #define SYSTEM_ERROR_EMSGSIZE 88
540 #define SYSTEM_ERROR_EPROTOTYPE 89
541 #define SYSTEM_ERROR_ENOPROTOOPT 90
542 #define SYSTEM_ERROR_EPROTONOSUPPORT 91
543 #define SYSTEM_ERROR_ESOCKTNOSUPPORT 92
544 #define SYSTEM_ERROR_EOPNOTSUPP 93
545 #define SYSTEM_ERROR_EPFNOSUPPORT 94
546 #define SYSTEM_ERROR_EAFNOSUPPORT 95
547 #define SYSTEM_ERROR_EADDRINUSE 96
548 #define SYSTEM_ERROR_EADDRNOTAVAIL 97
549 #define SYSTEM_ERROR_ENETDOWN 98
550 #define SYSTEM_ERROR_ENETUNREACH 99
551 #define SYSTEM_ERROR_ENETRESET 100
552 #define SYSTEM_ERROR_ECONNABORTED 101
553 #define SYSTEM_ERROR_ECONNRESET 102
554 #define SYSTEM_ERROR_ENOBUFS 103
555 #define SYSTEM_ERROR_EISCONN 104
556 #define SYSTEM_ERROR_ENOTCONN 105
557 #define SYSTEM_ERROR_ESHUTDOWN 106
558 #define SYSTEM_ERROR_ETOOMANYREFS 107
559 #define SYSTEM_ERROR_ETIMEDOUT 108
560 #define SYSTEM_ERROR_ECONNREFUSED 109
561 #define SYSTEM_ERROR_EHOSTDOWN 110
562 #define SYSTEM_ERROR_EHOSTUNREACH 111
563 #define SYSTEM_ERROR_EALREADY 112
564 #define SYSTEM_ERROR_EINPROGRESS 113
565 #define SYSTEM_ERROR_ESTALE 114
566 #define SYSTEM_ERROR_EUCLEAN 115
567 #define SYSTEM_ERROR_ENOTNAM 116
568 #define SYSTEM_ERROR_ENAVAIL 117
569 #define SYSTEM_ERROR_EISNAM 118
570 #define SYSTEM_ERROR_EREMOTEIO 119
571 #define SYSTEM_ERROR_EDQUOT 120
572 #define SYSTEM_ERROR_ENOMEDIUM 121
573 #define SYSTEM_ERROR_EMEDIUMTYPE 122
574 #define SYSTEM_ERROR_ECANCELED 123
575 #define SYSTEM_ERROR_ENOKEY 124
576 #define SYSTEM_ERROR_EKEYEXPIRED 125
577 #define SYSTEM_ERROR_EKEYREVOKED 126
578 #define SYSTEM_ERROR_EKEYREJECTED 127
579 #define SYSTEM_ERROR_EOWNERDEAD 128
580 #define SYSTEM_ERROR_ENOTRECOVERABLE 129
581 #define SYSTEM_ERROR_ERFKILL 130
582 #define SYSTEM_ERROR_EHWPOISON 131
583 #define SYSTEM_ERROR_N 132