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