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