[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4 MELT primitives

There are 249 primitives.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.1 !=

Primitive defined at file ‘warmelt-first.melt’, line 958.

result type: LONG

primitive formals:

indextypename
0VALUEA
1VALUEB

primitive description: Test that values A and B are not identical.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.2 !=I

Primitive defined at file ‘warmelt-base.melt’, line 126.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer test that A is unequal to B.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.3 !=S

Primitive defined at file ‘warmelt-first.melt’, line 1088.

result type: LONG

primitive formals:

indextypename
0VALUES1
1VALUES2

primitive description: Test that S1 and S2 are not both string equal values.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.4 %I

Primitive defined at file ‘warmelt-first.melt’, line 1018.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer binary modulus of A and B, robust to zero-divide.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.5 %IRAW

Primitive defined at file ‘warmelt-first.melt’, line 1021.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer raw modulus of A and B, crash on zero-divide.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.6 *I

Primitive defined at file ‘warmelt-base.melt’, line 143.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer binary product of A and B.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.7 +I

Primitive defined at file ‘warmelt-first.melt’, line 1013.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer binary addition of A and B.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.8 -I

Primitive defined at file ‘warmelt-base.melt’, line 140.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer binary substraction of A and B.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.9 /I

Primitive defined at file ‘warmelt-first.melt’, line 1016.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer binary division of A and B, robust to zero-divide.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.10 /IRAW

Primitive defined at file ‘warmelt-first.melt’, line 1020.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer raw division of A and B, crash on zero-divide.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.11 <=I

Primitive defined at file ‘warmelt-base.melt’, line 119.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer test that A less or equal to B.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.12 <I

Primitive defined at file ‘warmelt-first.melt’, line 1006.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer test that A less than B.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.13 ==

Primitive defined at file ‘warmelt-first.melt’, line 955.

result type: LONG

primitive formals:

indextypename
0VALUEA
1VALUEB

primitive description: Test identity of values A and B.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.14 ==I

Primitive defined at file ‘warmelt-base.melt’, line 122.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer test that A is equal to B.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.15 ==S

Primitive defined at file ‘warmelt-first.melt’, line 1085.

result type: LONG

primitive formals:

indextypename
0VALUES1
1VALUES2

primitive description: Test that S1 and S2 are both string values and are equal.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.16 >=I

Primitive defined at file ‘warmelt-first.melt’, line 1010.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer test that A greater or equal to B.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.17 >I

Primitive defined at file ‘warmelt-first.melt’, line 1008.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer test that A greater than B.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.18 ADD2OUT_CCOMCONST

Primitive defined at file ‘warmelt-base.melt’, line 865.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1CSTRINGCSTR

primitive description: Add to OUT the constant C-comment encoded raw CSTR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.19 ADD2OUT_CCOMSTRBUF

Primitive defined at file ‘warmelt-base.melt’, line 860.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1VALUEASBUF

primitive description: Add to OUT the C-comment encoded stringbuffer ASBUF.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.20 ADD2OUT_CCOMSTRING

Primitive defined at file ‘warmelt-base.melt’, line 855.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1VALUESTR

primitive description: Add to output OUT the C-comment encoded string value STR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.21 ADD2OUT_CENCSTRBUF

Primitive defined at file ‘warmelt-base.melt’, line 850.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1VALUEASBUF

primitive description: Add to output OUT the C-encoded stringbuffer ASBUF.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.22 ADD2OUT_CENCSTRING

Primitive defined at file ‘warmelt-base.melt’, line 838.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1VALUESTR

primitive description: Add to output OUT the C-encoded string value STR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.23 ADD2OUT_CENCSUBSTRING

Primitive defined at file ‘warmelt-base.melt’, line 843.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1VALUESTR
2LONGOFF
3LONGSLEN

primitive description: Add to output OUT the C-encoded substring value STR at offset OFF of length SLEN.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.24 ADD2OUT_CIDENT

Primitive defined at file ‘warmelt-base.melt’, line 871.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1VALUESTR

primitive description: Add to OUT the MELT string STR encocded as a C identifier, so with every non-alnum character replaced with an underscore.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.25 ADD2OUT_CIDENTPREFIX

Primitive defined at file ‘warmelt-base.melt’, line 879.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1VALUESTR
2LONGPREFLEN

primitive description: Add to OUT the prefix of a string encoded as a C identifier, limited by a small length PREFLEN.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.26 ADD2OUT_INDENT

Primitive defined at file ‘warmelt-base.melt’, line 821.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1LONGDEPTH

primitive description: Add to output OUT the indentation DEPTH or a space.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.27 ADD2OUT_INDENTNL

Primitive defined at file ‘warmelt-base.melt’, line 827.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1LONGDEPTH

primitive description: Add to output OUT the indented newline of given DEPTH.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.28 ADD2OUT_LONGDEC

Primitive defined at file ‘warmelt-base.melt’, line 887.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1LONGNUM

primitive description: Add to OUT the number NUM in decimal.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.29 ADD2OUT_LONGHEX

Primitive defined at file ‘warmelt-base.melt’, line 892.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1LONGNUM

primitive description: Add to OUT the number NUM in hex.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.30 ADD2OUT_MIXLOC

Primitive defined at file ‘warmelt-base.melt’, line 806.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1VALUEMIXL

primitive description: Add to output OUT the mixed location MIXL.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.31 ADD2OUT_ROUTINEDESCR

Primitive defined at file ‘warmelt-base.melt’, line 897.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1VALUEROUT

primitive description: Add to OUT the routine desscriptor ROUT.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.32 ADD2OUT_SBUF

Primitive defined at file ‘warmelt-base.melt’, line 833.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1VALUEASBUF

primitive description: Add to output OUT the stringbuffer ASBUF.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.33 ADD2OUT_STRCONST

Primitive defined at file ‘warmelt-base.melt’, line 797.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1CSTRINGSTR

primitive description: Add to output OUT the cstring STR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.34 ADD2OUT_STRING

Primitive defined at file ‘warmelt-base.melt’, line 801.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1VALUESTR

primitive description: Add to output OUT the string value STR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.35 ADD2SBUF_CCOMCONST

Primitive defined at file ‘warmelt-base.melt’, line 748.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1CSTRINGCSTR

primitive description: Add into stringbuffer SBUF the constant string CSTR with C-comment encoding so no */.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.36 ADD2SBUF_CCOMSTRBUF

Primitive defined at file ‘warmelt-base.melt’, line 742.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1VALUEASBUF

primitive description: Add into stringbuffer SBUF the content of stringbuffer ASBUF with C-comment encoding, i.e. avoiding */.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.37 ADD2SBUF_CCOMSTRING

Primitive defined at file ‘warmelt-base.melt’, line 737.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1VALUESTR

primitive description: Add into stringbuffer SBUF the content of string STR with C-comment encoding, i.e. avoiding */.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.38 ADD2SBUF_CENCSTRBUF

Primitive defined at file ‘warmelt-base.melt’, line 732.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1VALUEASBUF

primitive description: Add into stringbuffer SBUF the content of stringbuffer ASBUF with C encoding.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.39 ADD2SBUF_CENCSTRING

Primitive defined at file ‘warmelt-base.melt’, line 727.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1VALUESTR

primitive description: Add into stringbuffer SBUF the content of string STR with C encoding.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.40 ADD2SBUF_CIDENT

Primitive defined at file ‘warmelt-base.melt’, line 755.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1VALUESTR

primitive description: Add into stringbuffer SBUF the string STR as a C identifier so nonalphanum replaced by _.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.41 ADD2SBUF_CIDENTPREFIX

Primitive defined at file ‘warmelt-base.melt’, line 763.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1VALUESTR
2LONGPREFLEN

primitive description: Add into stringbuffer SBUF the prefix string STR as a C identifier so nonalphanum replaced by _ limited by PREFLEN.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.42 ADD2SBUF_INDENT

Primitive defined at file ‘warmelt-base.melt’, line 710.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1LONGDEPTH

primitive description: Add into stringbuffer SBUF an indentation of given DEPTH or a space.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.43 ADD2SBUF_INDENTNL

Primitive defined at file ‘warmelt-base.melt’, line 716.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1LONGDEPTH

primitive description: Add into stringbuffer SBUF an indented newline of given DEPTH.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.44 ADD2SBUF_LONGDEC

Primitive defined at file ‘warmelt-base.melt’, line 769.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1LONGNUM

primitive description: Add into stringbuffer SBUF the number NUM in decimal.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.45 ADD2SBUF_LONGHEX

Primitive defined at file ‘warmelt-base.melt’, line 774.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1LONGNUM

primitive description: Add into stringbuffer SBUF the number NUM in hexa.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.46 ADD2SBUF_MIXLOC

Primitive defined at file ‘warmelt-base.melt’, line 679.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1VALUEMIXL

primitive description: Add into stringbuffer SBUF the mixed loc MIXL.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.47 ADD2SBUF_ROUTINEDESCR

Primitive defined at file ‘warmelt-base.melt’, line 779.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1VALUEROUT

primitive description: Add into stringbuffer SBUF the routine descriptor ROUT.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.48 ADD2SBUF_SBUF

Primitive defined at file ‘warmelt-base.melt’, line 722.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1VALUEASBUF

primitive description: Add into stringbuffer SBUF the content of stringbuffer ASBUF.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.49 ADD2SBUF_SHORT_MIXLOC

Primitive defined at file ‘warmelt-base.melt’, line 691.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1VALUEMIXL

primitive description: Add into stringbuffer SBUF the mixed loc MIXL in short form.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.50 ADD2SBUF_STRCONST

Primitive defined at file ‘warmelt-base.melt’, line 668.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1CSTRINGSTR

primitive description: Add into stringbuffer SBUF the constant string STR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.51 ADD2SBUF_STRING

Primitive defined at file ‘warmelt-base.melt’, line 673.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1VALUESTR

primitive description: Add into stringbuffer SBUF the string value STR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.52 ADD2SBUF_TEXI_MIXLOC

Primitive defined at file ‘warmelt-base.melt’, line 700.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1VALUEMIXL

primitive description: Add into stringbuffer SBUF the mixed loc MIXL in texinfo form.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.53 ANDI

Primitive defined at file ‘warmelt-base.melt’, line 145.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer binary bitwise and of A and B.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.54 ASSERT_FAILED

Primitive defined at file ‘warmelt-first.melt’, line 995.

result type: VOID

primitive formals:

indextypename
0CSTRINGMSG
1CSTRINGFILENAME
2LONGLINENO

primitive description: Internally used by ASSERT_MSG macro. Runtime assert failed with message MSG in file FILENAME at line LINENO.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.55 BOX_CONTENT

Primitive defined at file ‘warmelt-first.melt’, line 1367.

result type: VALUE

primitive formals:

indextypename
0VALUEBOX

primitive description: Safely retrieve the content of a box value BOX or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.56 BOX_PUT

Primitive defined at file ‘warmelt-first.melt’, line 1371.

result type: VOID

primitive formals:

indextypename
0VALUEBOX
1VALUEVAL

primitive description: Safely put into box value BOX the value VAL.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.57 CBREAK_MSG

Primitive defined at file ‘warmelt-base.melt’, line 102.

result type: VOID

primitive formals:

indextypename
0CSTRINGMSG

primitive description: Low level primitive for GDB breakpoints. Use it temporarily, given a string MSG, with gdb when desperate.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.58 CHECKCALLSTACK_MSG

Primitive defined at file ‘warmelt-base.melt’, line 94.

result type: VOID

primitive formals:

indextypename
0CSTRINGMSG

primitive description: Low level costly primitive to check the entire call stack to help hunt memory or GC bugs. Displays the given MSG if the check went wrong. Use it when desperate.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.59 CHECKVAL_DBG

Primitive defined at file ‘warmelt-base.melt’, line 435.

result type: VALUE

primitive formals:

indextypename
0VALUEVAL
1CSTRINGMSG

primitive description: Low-level costly check of value VAL with message MSG. Mostly useful for gurus.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.60 CLOSURE_NTH

Primitive defined at file ‘warmelt-first.melt’, line 1320.

result type: VALUE

primitive formals:

indextypename
0VALUECLO
1LONGIX

primitive description: Retrieve in closure value CLO its component of index IX.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.61 CLOSURE_ROUTINE

Primitive defined at file ‘warmelt-first.melt’, line 1317.

result type: VALUE

primitive formals:

indextypename
0VALUECLO

primitive description: Give the routine value inside a closure value CLO or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.62 CLOSURE_SIZE

Primitive defined at file ‘warmelt-first.melt’, line 1314.

result type: LONG

primitive formals:

indextypename
0VALUECLO

primitive description: Give the size of a closure value CLO, i.e. the number of closed values.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.63 CREATE_KEYWORDSTR

Primitive defined at file ‘warmelt-first.melt’, line 987.

result type: VALUE

primitive formals:

indextypename
0VALUESTRV

primitive description: Retrieve an existing keyword of given string value STRV or create it if not found.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.64 CREATE_SYMBOLSTR

Primitive defined at file ‘warmelt-first.melt’, line 975.

result type: VALUE

primitive formals:

indextypename
0VALUESTRV

primitive description: Retrieve an existing symbol of given string value STRV or create it if not found.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.65 CSTRING_LENGTH

Primitive defined at file ‘warmelt-base.melt’, line 917.

result type: LONG

primitive formals:

indextypename
0CSTRINGCSTR

primitive description: Compute safely the length a C-string CSTR. Gives 0 if null argument.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.66 C_CLOCK

Primitive defined at file ‘warmelt-base.melt’, line 112.

result type: LONG

primitive description: Get the current cpu clock(3) in microseconds.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.67 C_TIME

Primitive defined at file ‘warmelt-base.melt’, line 108.

result type: LONG

primitive description: Get the current time(2) since Unix epoch in seconds.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.68 DEBUGCSTRING

Primitive defined at file ‘warmelt-base.melt’, line 439.

result type: VOID

primitive formals:

indextypename
0CSTRINGMSG
1CSTRINGSTR

primitive description: Debug cstring MSG STR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.69 DEBUGLONG

Primitive defined at file ‘warmelt-base.melt’, line 443.

result type: VOID

primitive formals:

indextypename
0CSTRINGMSG
1LONGNUM

primitive description: Debug long stuff with MSG and number NUM.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.70 DEBUG_DEPTH

Primitive defined at file ‘warmelt-debug.melt’, line 53.

result type: LONG

primitive description: The default MELT debug depth, as passed by -fmelt-debug-depth or -fplugin-arg-melt-debug-depth program argument.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.71 DISCRIM

Primitive defined at file ‘warmelt-first.melt’, line 937.

result type: VALUE

primitive formals:

indextypename
0VALUEV

primitive description: Safely gives the discriminant of a value (even if it is null).


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.72 ERRORMSG_PLAIN

Primitive defined at file ‘warmelt-base.melt’, line 304.

result type: VOID

primitive formals:

indextypename
0CSTRINGCMSG

primitive description: Show a plain error with raw message string CMSG.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.73 ERRORMSG_STRV

Primitive defined at file ‘warmelt-base.melt’, line 320.

result type: VOID

primitive formals:

indextypename
0CSTRINGCMSG
1VALUESTRV

primitive description: Show a plain error with raw message string CMSG and string value STRV.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.74 ERROR_PLAIN

Primitive defined at file ‘warmelt-base.melt’, line 282.

result type: VOID

primitive formals:

indextypename
0VALUELOC
1CSTRINGCMSG

primitive description: Show a plain error at boxed location LOC with raw message string CMSG.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.75 ERROR_STRV

Primitive defined at file ‘warmelt-base.melt’, line 276.

result type: VOID

primitive formals:

indextypename
0VALUELOC
1CSTRINGCMSG
2VALUESTRV

primitive description: Show an error at boxed location LOC with raw message string CMSG and string value STRV.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.76 FULL_GARBCOLL

Primitive defined at file ‘warmelt-base.melt’, line 87.

result type: VOID

primitive formals:

indextypename
0LONGSIZ

primitive description: Force a full MELT garbage collection. The SIZ is the amount of memory to reserve.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.77 GENERATE_DEBUG_MELT_MODULE

Primitive defined at file ‘warmelt-base.melt’, line 562.

result type: VOID

primitive formals:

indextypename
0VALUESRC
1VALUEOUTNAM

primitive description: Generate and load a module whose source is named after SRC and whose binary is named after OUTNAM without any ’.so’ suffix.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.78 GENERATE_MELT_MODULE

Primitive defined at file ‘warmelt-base.melt’, line 555.

result type: VOID

primitive formals:

indextypename
0VALUESRC
1VALUEOUTNAM

primitive description: Generate and load a module whose source is named after SRC and whose binary is named after OUTNAM without any ’.so’ suffix.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.79 GET_GLOBPREDEF

Primitive defined at file ‘warmelt-base.melt’, line 54.

result type: VALUE

primitive formals:

indextypename
0LONGIX

primitive description: Safely gives the predefined of index IX or null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.80 GET_INT

Primitive defined at file ‘warmelt-first.melt’, line 942.

result type: LONG

primitive formals:

indextypename
0VALUEV

primitive description: Safely gets the integer number inside V, a boxed or mixed integer, or an object.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.81 GET_KEYWORDSTR

Primitive defined at file ‘warmelt-first.melt’, line 984.

result type: VALUE

primitive formals:

indextypename
0VALUESTRV

primitive description: Get an existing keyword of given string value STRV or null if not found.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.82 GET_RAW_SYMBOL

Primitive defined at file ‘warmelt-first.melt’, line 979.

result type: VALUE

primitive formals:

indextypename
0CSTRINGCSTR

primitive description: Get an existing symbol of given cstring CSTR or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.83 GET_SYMBOLSTR

Primitive defined at file ‘warmelt-first.melt’, line 972.

result type: VALUE

primitive formals:

indextypename
0VALUESTRV

primitive description: Get an existing symbol of given string value STRV or null if not found.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.84 GIMPLE_CALL_NTH_ARG

Primitive defined at file ‘xtramelt-ana-base.melt’, line 1193.

result type: TREE

primitive formals:

indextypename
0GIMPLEGC
1LONGN

primitive description: Safely retrieve in gimple call GC its N-th argument.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.85 GIMPLE_SWITCH_INDEX

Primitive defined at file ‘xtramelt-ana-base.melt’, line 1340.

result type: TREE

primitive formals:

indextypename
0GIMPLEGS

primitive description: Retrieve the index of gimple switch GS.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.86 GIMPLE_SWITCH_LABEL

Primitive defined at file ‘xtramelt-ana-base.melt’, line 1346.

result type: TREE

primitive formals:

indextypename
0GIMPLEGS
1LONGN

primitive description: Safely retrieve the N-th label in gimple switch GS.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.87 IGNORE

Primitive defined at file ‘warmelt-base.melt’, line 37.

result type: VOID

primitive formals:

indextypename
0VALUEV

primitive description: Ignore the value passed as argument. Useful to avoid translation warnings, or to force the type of a conditional. See CTYPE_VOID.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.88 INFORMSG_LONG

Primitive defined at file ‘warmelt-first.melt’, line 1467.

result type: VOID

primitive formals:

indextypename
0CSTRINGMSG
1LONGN

primitive description: Show a plain notice with raw message string CMSG and number N.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.89 INFORMSG_PLAIN

Primitive defined at file ‘warmelt-base.melt’, line 336.

result type: VOID

primitive formals:

indextypename
0CSTRINGCMSG

primitive description: Show a plain notice with raw message string CMSG.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.90 INFORMSG_STRV

Primitive defined at file ‘warmelt-first.melt’, line 1025.

result type: VOID

primitive formals:

indextypename
0CSTRINGCMSG
1VALUESTRV

primitive description: Show a plain notice with raw message string CMSG and string value STRV.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.91 INFORMSG_STRV

Primitive defined at file ‘warmelt-base.melt’, line 341.

result type: VOID

primitive formals:

indextypename
0CSTRINGCMSG
1VALUESTRV

primitive description: Show a plain notice with raw message string CMSG and string value STRV.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.92 INFORM_PLAIN

Primitive defined at file ‘warmelt-base.melt’, line 331.

result type: VOID

primitive formals:

indextypename
0VALUELOC
1CSTRINGCMSG

primitive description: Show a plain warning at boxed location LOC with raw message string CMSG.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.93 INFORM_STRV

Primitive defined at file ‘warmelt-base.melt’, line 327.

result type: VOID

primitive formals:

indextypename
0VALUELOC
1CSTRINGCMSG
2VALUESTRV

primitive description: Show a notice at boxed location LOC with raw message string CMSG and string value STRV.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.94 IS_A

Primitive defined at file ‘warmelt-first.melt’, line 918.

result type: LONG

primitive formals:

indextypename
0VALUEOBJ
1VALUECLA

primitive description: Test if OBJ is an instance of the CLA class [or a subclass]. Return 0 otherwise, e.g. when OBJ is not an object. See also IS_NOT_A.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.95 IS_BOX

Primitive defined at file ‘warmelt-first.melt’, line 1363.

result type: LONG

primitive formals:

indextypename
0VALUEBOX

primitive description: Test if value BOX is a box, ie a reference.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.96 IS_CLOSURE

Primitive defined at file ‘warmelt-first.melt’, line 1311.

result type: LONG

primitive formals:

indextypename
0VALUECLO

primitive description: Test if value CLO is a closure, i.e. a functional value.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.97 IS_INTEGERBOX

Primitive defined at file ‘warmelt-first.melt’, line 1336.

result type: LONG

primitive formals:

indextypename
0VALUEIB

primitive description: Test if a value IB is a boxed integer.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.98 IS_LIST

Primitive defined at file ‘warmelt-first.melt’, line 1394.

result type: LONG

primitive formals:

indextypename
0VALUELI

primitive description: Test if value LI is a list.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.99 IS_LIST_OR_NULL

Primitive defined at file ‘warmelt-first.melt’, line 1397.

result type: LONG

primitive formals:

indextypename
0VALUELI

primitive description: Test iv value LI is null or a list.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.100 IS_MAPOBJECT

Primitive defined at file ‘warmelt-first.melt’, line 1143.

result type: LONG

primitive formals:

indextypename
0VALUEMAP

primitive description: Test if given MAP is an object map.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.101 IS_MAPSTRING

Primitive defined at file ‘warmelt-first.melt’, line 1215.

result type: LONG

primitive formals:

indextypename
0VALUEMAP

primitive description: Safely test if MAP is a string-map.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.102 IS_MIXBIGINT

Primitive defined at file ‘warmelt-base.melt’, line 256.

result type: LONG

primitive formals:

indextypename
0VALUEMB

primitive description: Test if value MB is a mixed bigint.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.103 IS_MIXINT

Primitive defined at file ‘warmelt-base.melt’, line 209.

result type: LONG

primitive formals:

indextypename
0VALUEMI

primitive description: Test if value MI is a mixedint value.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.104 IS_MIXLOC

Primitive defined at file ‘warmelt-base.melt’, line 224.

result type: LONG

primitive formals:

indextypename
0VALUEMI

primitive description: Test if value MI is a mixed location value.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.105 IS_MULTIPLE

Primitive defined at file ‘warmelt-first.melt’, line 1108.

result type: LONG

primitive formals:

indextypename
0VALUEMUL

primitive description: Safely test if MUL is a tuple.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.106 IS_MULTIPLE_OR_NULL

Primitive defined at file ‘warmelt-base.melt’, line 590.

result type: LONG

primitive formals:

indextypename
0VALUEMUL

primitive description: Safely test if MUL is a tuple or null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.107 IS_NON_EMPTY_LIST

Primitive defined at file ‘warmelt-first.melt’, line 1402.

result type: LONG

primitive formals:

indextypename
0VALUELI

primitive description: Test if value LI is a non-empty list.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.108 IS_NOT_A

Primitive defined at file ‘warmelt-first.melt’, line 925.

result type: LONG

primitive formals:

indextypename
0VALUEOBJ
1VALUECLA

primitive description: Test if OBJ is not an instance of the CLA class [or a subclass]. Negation of IS_A.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.109 IS_NOT_OBJECT

Primitive defined at file ‘warmelt-base.melt’, line 48.

result type: LONG

primitive formals:

indextypename
0VALUEOBJ

primitive description: Test if OBJ is not an object. Negation of IS_OBJECT.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.110 IS_OBJECT

Primitive defined at file ‘warmelt-first.melt’, line 931.

result type: LONG

primitive formals:

indextypename
0VALUEOBJ

primitive description: Test if OBJ is indeed an object. See also IS_NOT_OBJECT.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.111 IS_OUT

Primitive defined at file ‘warmelt-base.melt’, line 664.

result type: LONG

primitive formals:

indextypename
0VALUEV

primitive description: Test if value V is a output value (a stringbuffer or a file).


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.112 IS_PAIR

Primitive defined at file ‘warmelt-first.melt’, line 1444.

result type: LONG

primitive formals:

indextypename
0VALUEPA

primitive description: Test if a value PA is a pair.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.113 IS_ROUTINE

Primitive defined at file ‘warmelt-first.melt’, line 1292.

result type: LONG

primitive formals:

indextypename
0VALUEROU

primitive description: Test if value ROU is a routine.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.114 IS_STRBUF

Primitive defined at file ‘warmelt-base.melt’, line 461.

result type: LONG

primitive formals:

indextypename
0VALUEV

primitive description: Test if value V is a stringbuffer.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.115 IS_STRING

Primitive defined at file ‘warmelt-first.melt’, line 1081.

result type: LONG

primitive formals:

indextypename
0VALUESTR

primitive description: Test that STR is a string values.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.116 IS_STRINGCONST

Primitive defined at file ‘warmelt-base.melt’, line 471.

result type: LONG

primitive formals:

indextypename
0VALUESTR
1CSTRINGCS

primitive description: Test that value string STR is the raw string constant CS.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.117 LIST_APPEND

Primitive defined at file ‘warmelt-first.melt’, line 1425.

result type: VOID

primitive formals:

indextypename
0VALUELI
1VALUEEL

primitive description: Safely append to list value LI an element EL thru a new pair.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.118 LIST_FIRST

Primitive defined at file ‘warmelt-first.melt’, line 1406.

result type: VALUE

primitive formals:

indextypename
0VALUELI

primitive description: Safely retrieve the first pair of list value LI, or null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.119 LIST_FIRST_ELEMENT

Primitive defined at file ‘warmelt-first.melt’, line 1414.

result type: VALUE

primitive formals:

indextypename
0VALUELI

primitive description: Safely retrieve the first element of list value LI, or null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.120 LIST_LAST

Primitive defined at file ‘warmelt-first.melt’, line 1410.

result type: VALUE

primitive formals:

indextypename
0VALUELI

primitive description: Safely retrieve the last pair of list value LI, or null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.121 LIST_LAST_ELEMENT

Primitive defined at file ‘warmelt-first.melt’, line 1418.

result type: VALUE

primitive formals:

indextypename
0VALUELI

primitive description: Safely retrieve the last element of list value LI, or null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.122 LIST_LENGTH

Primitive defined at file ‘warmelt-first.melt’, line 1421.

result type: LONG

primitive formals:

indextypename
0VALUELI

primitive description: Safely compute the length of list value LI, or else 0.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.123 LIST_POPFIRST

Primitive defined at file ‘warmelt-first.melt’, line 1433.

result type: VALUE

primitive formals:

indextypename
0VALUELI

primitive description: Pop the first element from a list LI and give it, or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.124 LIST_PREPEND

Primitive defined at file ‘warmelt-first.melt’, line 1429.

result type: VOID

primitive formals:

indextypename
0VALUELI
1VALUEEL

primitive description: Safely prepend to list value LI an element EL thru a new pair.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.125 LOAD_DEBUG_MELT_MODULE

Primitive defined at file ‘warmelt-base.melt’, line 544.

result type: VALUE

primitive formals:

indextypename
0VALUEENV
1VALUESTR

primitive description: load a MELT module by C compilation of file STR with environment ENV. Gives the new environment after loading the module.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.126 LOAD_MELT_MODULE

Primitive defined at file ‘warmelt-base.melt’, line 534.

result type: VALUE

primitive formals:

indextypename
0VALUEENV
1VALUESTR

primitive description: load a MELT module by C compilation of file STR with environment ENV. Gives the new environment after loading the module.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.127 LONGBACKTRACE_DBG

Primitive defined at file ‘warmelt-base.melt’, line 430.

result type: VOID

primitive formals:

indextypename
0CSTRINGMSG
1LONGMAXDEPTH

primitive description: Detailed debug backtrace with message MSG up to MAXDEPTH.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.128 LOOP_HEADER

Primitive defined at file ‘xtramelt-ana-base.melt’, line 267.

result type: BASIC_BLOCK

primitive formals:

indextypename
0LOOPLO

primitive description: The header if any of loop LO


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.129 LOOP_INNER

Primitive defined at file ‘xtramelt-ana-base.melt’, line 275.

result type: LOOP

primitive formals:

indextypename
0LOOPLO

primitive description: The inner if any of loop LO


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.130 LOOP_LATCH

Primitive defined at file ‘xtramelt-ana-base.melt’, line 271.

result type: BASIC_BLOCK

primitive formals:

indextypename
0LOOPLO

primitive description: The latch if any of loop LO


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.131 MAKE_BOX

Primitive defined at file ‘warmelt-first.melt’, line 1375.

result type: VALUE

primitive formals:

indextypename
0VALUEDISCR
1VALUEVALB

primitive description: Make a box value of discriminant DISCR and content VALB.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.132 MAKE_GIMPLE_MIXLOC

Primitive defined at file ‘xtramelt-ana-base.melt’, line 2616.

result type: VALUE

primitive formals:

indextypename
0GIMPLEG
1LONGNUM
2VALUEVAL
3VALUEDIS

primitive description: Make a mixed location for the location of gimple G with value VAL and discriminant DIS, usually DISCR_MIXED_LOCATION.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.133 MAKE_INTEGERBOX

Primitive defined at file ‘warmelt-first.melt’, line 1341.

result type: VALUE

primitive formals:

indextypename
0VALUEDISCR
1LONGN

primitive description: Make a boxed integer of given discrimant DISCR and integer N.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.134 MAKE_LIST

Primitive defined at file ‘warmelt-first.melt’, line 1437.

result type: VALUE

primitive formals:

indextypename
0VALUEDISCR

primitive description: Make a new list value of given discriminant DISCR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.135 MAKE_MAPOBJECT

Primitive defined at file ‘warmelt-first.melt’, line 1167.

result type: VALUE

primitive formals:

indextypename
0VALUEDISCR
1LONGLEN

primitive description: Make an object-map of discriminant DISCR and initial size LEN or null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.136 MAKE_MAPSTRING

Primitive defined at file ‘warmelt-first.melt’, line 1219.

result type: VALUE

primitive formals:

indextypename
0VALUEDISCR
1LONGLEN

primitive description: Make a new string-map of discriminant DISCR and initial length LEN - or null if failed.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.137 MAKE_MIXINT

Primitive defined at file ‘warmelt-base.melt’, line 217.

result type: VALUE

primitive formals:

indextypename
0VALUEDIS
1VALUEVAL
2LONGNUM

primitive description: Make a mixint value of given discriminant DIS value VAL and number NUM or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.138 MAKE_MIXLOC

Primitive defined at file ‘warmelt-base.melt’, line 247.

result type: VALUE

primitive formals:

indextypename
0VALUEDIS
1VALUEVAL
2LONGNUM
3LONGLOC

primitive description: Make a mixed location value of given discriminant DIS value VAL number NUM opaque location number LOC.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.139 MAKE_MULTIPLE

Primitive defined at file ‘warmelt-first.melt’, line 1112.

result type: VALUE

primitive formals:

indextypename
0VALUEDISCR
1LONGLN

primitive description: Make a tuple of given discriminant DISCR and length LN - gives null otherwise.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.140 MAKE_PAIR

Primitive defined at file ‘warmelt-base.melt’, line 203.

result type: VALUE

primitive formals:

indextypename
0VALUEDISCR
1VALUEHD
2VALUETL

primitive description: Create a new pair of given discrimiant DISCR head HD and tail TL or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.141 MAKE_STRBUF

Primitive defined at file ‘warmelt-base.melt’, line 449.

result type: VALUE

primitive formals:

indextypename
0VALUEDISCR

primitive description: Make a new stringbuffer value of given DISCR - or null if bad DISCR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.142 MAKE_STRING

Primitive defined at file ‘warmelt-base.melt’, line 466.

result type: VALUE

primitive formals:

indextypename
0VALUEDIS
1VALUESTR

primitive description: Make a new string of discriminant DIS from string value STR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.143 MAKE_STRINGCONST

Primitive defined at file ‘warmelt-first.melt’, line 1092.

result type: VALUE

primitive formals:

indextypename
0VALUEDIS
1CSTRINGCSTR

primitive description: Make a new string of distriminant DIS from raw string constant CSTR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.144 MAKE_STRING_GENERATED_C_FILENAME

Primitive defined at file ‘warmelt-base.melt’, line 523.

result type: VALUE

primitive formals:

indextypename
0VALUEDIS
1VALUEBASESTR
2VALUEDIRSTR

primitive description: make a generated C file path of discriminant DIS with base BASESTR and directory DIRSTR adding a .c suffix.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.145 MAKE_STRING_MIXLOC_FILE

Primitive defined at file ‘warmelt-base.melt’, line 241.

result type: VALUE

primitive formals:

indextypename
0VALUEMI
1VALUEDIS

primitive description: Retrieve the filename as a boxed string of a mixed location value MI.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.146 MAKE_STRING_NAKEDBASENAME

Primitive defined at file ‘warmelt-base.melt’, line 510.

result type: VALUE

primitive formals:

indextypename
0VALUEDIS
1VALUESTR

primitive description: make a string value of discriminant DIS from the naked basename from file path STR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.147 MAKE_STRING_TEMPNAME_SUFFIXED

Primitive defined at file ‘warmelt-base.melt’, line 515.

result type: VALUE

primitive formals:

indextypename
0VALUEDIS
1VALUESTR
2CSTRINGSUFF

primitive description: make a naked temporary path of discriminant DIS for a basename STR with suffix SUFF.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.148 MAPOBJECT_COUNT

Primitive defined at file ‘warmelt-first.melt’, line 1151.

result type: LONG

primitive formals:

indextypename
0VALUEMAP

primitive description: Safely retrieve the count of given object-map MAP or else 0.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.149 MAPOBJECT_GET

Primitive defined at file ‘warmelt-first.melt’, line 1163.

result type: VALUE

primitive formals:

indextypename
0VALUEMAP
1VALUEATTR

primitive description: Safely get from given object-map MAP the value associated to ATTR or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.150 MAPOBJECT_NTH_ATTR

Primitive defined at file ‘warmelt-first.melt’, line 1155.

result type: VALUE

primitive formals:

indextypename
0VALUEMAP
1LONGN

primitive description: Safely retrieve from given object-map MAP its N-th attribute or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.151 MAPOBJECT_NTH_VAL

Primitive defined at file ‘warmelt-first.melt’, line 1159.

result type: VALUE

primitive formals:

indextypename
0VALUEMAP
1LONGN

primitive description: Safely retrieve from given object-map MAP its N-th value or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.152 MAPOBJECT_PUT

Primitive defined at file ‘warmelt-first.melt’, line 1171.

result type: VOID

primitive formals:

indextypename
0VALUEMAP
1VALUEKEY
2VALUEVAL

primitive description: Safely put into object-map MAP the given KEY with VAL.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.153 MAPOBJECT_REMOVE

Primitive defined at file ‘warmelt-first.melt’, line 1177.

result type: VOID

primitive formals:

indextypename
0VALUEMAP
1VALUEKEY

primitive description: Safely remove from object-map MAP the given KEY.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.154 MAPOBJECT_SIZE

Primitive defined at file ‘warmelt-first.melt’, line 1147.

result type: LONG

primitive formals:

indextypename
0VALUEMAP

primitive description: Safely retrieve the allocated size of given object-map MAP or else 0.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.155 MAPSTRING_COUNT

Primitive defined at file ‘warmelt-base.melt’, line 966.

result type: LONG

primitive formals:

indextypename
0VALUEMAP

primitive description: Safely return the current count of a string-map MAP or else 0.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.156 MAPSTRING_GETSTR

Primitive defined at file ‘warmelt-first.melt’, line 1225.

result type: VALUE

primitive formals:

indextypename
0VALUEMAP
1VALUEKEYSTR

primitive description: Safely get in a string-map MAP the value associated with a value string KEYSTR or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.157 MAPSTRING_NTH_ATTRSTR

Primitive defined at file ‘warmelt-first.melt’, line 1233.

result type: VALUE

primitive formals:

indextypename
0VALUEMAP
1VALUESDICR
2LONGN

primitive description: Safely get from string-map MAP the N-th string and make a string value of discriminant SDICR from it.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.158 MAPSTRING_NTH_VAL

Primitive defined at file ‘warmelt-first.melt’, line 1239.

result type: VALUE

primitive formals:

indextypename
0VALUEMAP
1LONGN

primitive description: Safely retrieve from string-map MAP its N-th value or null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.159 MAPSTRING_PUTSTR

Primitive defined at file ‘warmelt-first.melt’, line 1222.

result type: VOID

primitive formals:

indextypename
0VALUEMAP
1VALUEKEYSTR
2VALUEVAL

primitive description: Safely put into a string-map MAP the string value KEYSTR associated to value VAL.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.160 MAPSTRING_RAWGET

Primitive defined at file ‘warmelt-base.melt’, line 972.

result type: VALUE

primitive formals:

indextypename
0VALUEMAP
1CSTRINGCSTR

primitive description: Safely get in a string-map MAP the value associated with raw c-string CSTR or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.161 MAPSTRING_RAWPUT

Primitive defined at file ‘warmelt-base.melt’, line 977.

result type: VOID

primitive formals:

indextypename
0VALUEMAP
1CSTRINGKEY
2VALUEVAL

primitive description: Safely put into a string-map MAP the raw c-string KEY associated to value VAL.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.162 MAPSTRING_RAWREMOVE

Primitive defined at file ‘warmelt-base.melt’, line 982.

result type: VOID

primitive formals:

indextypename
0VALUEMAP
1CSTRINGKEY

primitive description: Safely remove from a string-map MAP the value associated with raw c-string KEY.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.163 MAPSTRING_REMOVESTR

Primitive defined at file ‘warmelt-first.melt’, line 1228.

result type: VOID

primitive formals:

indextypename
0VALUEMAP
1VALUEKEYSTR

primitive description: Safely remove from a string-map MAP the value associated with string value KEYSTR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.164 MAPSTRING_SIZE

Primitive defined at file ‘warmelt-base.melt’, line 961.

result type: LONG

primitive formals:

indextypename
0VALUEMAP

primitive description: Safely return the current allocated size of a string-map MAP or else 0.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.165 MAXI

Primitive defined at file ‘warmelt-base.melt’, line 130.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: MAXI gives the maximum of two integers A and B


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.166 MELT_APPLICATION_COUNT

Primitive defined at file ‘warmelt-base.melt’, line 1038.

result type: LONG

primitive description: Count of MELT closures application - significant iff ENABLE_CHECKING.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.167 MELT_APPLICATION_DEPTH

Primitive defined at file ‘warmelt-base.melt’, line 1029.

result type: LONG

primitive description: Depth of MELT closures application - significant iff ENABLE_CHECKING.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.168 MELT_APPLICATION_SHALLOWER

Primitive defined at file ‘warmelt-base.melt’, line 1033.

result type: LONG

primitive formals:

indextypename
0LONGMAXDEPTH

primitive description: Test that the MELT application depth is less that MAXDEPTH - significant iff ENABLE_CHECKING.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.169 MELT_ARGUMENT

Primitive defined at file ‘warmelt-outobj.melt’, line 3955.

result type: CSTRING

primitive formals:

indextypename
0CSTRINGNAM

primitive description: Retrieve a MELT program argument as a string


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.170 MELT_ERROR_COUNTER

Primitive defined at file ‘warmelt-first.melt’, line 3001.

result type: LONG

primitive description: The MELT error counter.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.171 MELT_IS_BOOTSTRAPPING

Primitive defined at file ‘warmelt-base.melt’, line 657.

result type: LONG

primitive description: Test if MELT is bootstrapping. Only for MELT implementation gurus.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.172 MELT_VERSION_STR

Primitive defined at file ‘warmelt-base.melt’, line 568.

result type: CSTRING

primitive description: Gives the MELT version string.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.173 MESSAGENUM_DBG

Primitive defined at file ‘warmelt-base.melt’, line 422.

result type: VOID

primitive formals:

indextypename
0CSTRINGMSG
1LONGI

primitive description: Debug output with message MSG number I


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.174 MESSAGEVAL_DBG

Primitive defined at file ‘warmelt-base.melt’, line 426.

result type: VOID

primitive formals:

indextypename
0CSTRINGMSG
1VALUEVAL

primitive description: Debug output with message MSG value VAL


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.175 MESSAGE_DBG

Primitive defined at file ‘warmelt-base.melt’, line 420.

result type: VOID

primitive formals:

indextypename
0CSTRINGMSG

primitive description: Debug message MSG


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.176 MINI

Primitive defined at file ‘warmelt-base.melt’, line 134.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: MINI gives the maximum of two integers A and B


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.177 MINOR_GARBCOLL

Primitive defined at file ‘warmelt-base.melt’, line 82.

result type: VOID

primitive formals:

indextypename
0LONGSIZ

primitive description: Force a minor MELT garbage collection. The SIZ is the amount of memory to reserve.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.178 MIXBIGINT_VAL

Primitive defined at file ‘warmelt-base.melt’, line 259.

result type: VALUE

primitive formals:

indextypename
0VALUEMB

primitive description: Retrieve the value inside a mixed bigint MB.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.179 MIXINT_VAL

Primitive defined at file ‘warmelt-base.melt’, line 213.

result type: VALUE

primitive formals:

indextypename
0VALUEMI

primitive description: Get the value inside a mixedint value MI. The integer can be retrieved using GET_INT.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.180 MIXLOC_LOCATION

Primitive defined at file ‘warmelt-base.melt’, line 231.

result type: LONG

primitive formals:

indextypename
0VALUEMI

primitive description: Safely retrieve as an opaque long the location of a mixed location value MI.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.181 MIXLOC_LOCFILE

Primitive defined at file ‘warmelt-base.melt’, line 237.

result type: CSTRING

primitive formals:

indextypename
0VALUEMI

primitive description: Retrieve the filename as a raw cstring of a mixed location value MI.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.182 MIXLOC_LOCLINE

Primitive defined at file ‘warmelt-base.melt’, line 234.

result type: LONG

primitive formals:

indextypename
0VALUEMI

primitive description: Retrieve the line of the location of a mixed location value MI.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.183 MIXLOC_VAL

Primitive defined at file ‘warmelt-base.melt’, line 228.

result type: VALUE

primitive formals:

indextypename
0VALUEMI

primitive description: Safely retrieve the value inside a mixed location value MI.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.184 MULTIPLE_LENGTH

Primitive defined at file ‘warmelt-first.melt’, line 1122.

result type: LONG

primitive formals:

indextypename
0VALUEMUL

primitive description: Gives the length of tuple MUL.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.185 MULTIPLE_NTH

Primitive defined at file ‘warmelt-first.melt’, line 1118.

result type: VALUE

primitive formals:

indextypename
0VALUEMUL
1LONGN

primitive description: Safely retrieve from tuple MUL its N-th component or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.186 MULTIPLE_PUT_NTH

Primitive defined at file ‘warmelt-first.melt’, line 1126.

result type: VOID

primitive formals:

indextypename
0VALUEMUL
1LONGN
2VALUEV

primitive description: Put into tuple MUL at rank N the component V. Avoid circularities!


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.187 MULTIPLE_SORT

Primitive defined at file ‘warmelt-first.melt’, line 1130.

result type: VALUE

primitive formals:

indextypename
0VALUEMUL
1VALUECMP
2VALUEDISCRM

primitive description: Gives the sorted tuple from tuple MUL using compare function CMP (returning a boxed integer) and discriminant DISCRM.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.188 NEED_DBG

Primitive defined at file ‘warmelt-first.melt’, line 1052.

result type: LONG

primitive formals:

indextypename
0LONGDEPTH

primitive description: Test if debug messages are needed for the given DEPTH.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.189 NEED_DBGLIM

Primitive defined at file ‘warmelt-first.melt’, line 1055.

result type: LONG

primitive formals:

indextypename
0LONGDEPTH
1LONGLIMIT

primitive description: Test if debug messages are needed for the given DEPTH and LIMIT.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.190 NEGI

Primitive defined at file ‘warmelt-base.melt’, line 152.

result type: LONG

primitive formals:

indextypename
0LONGI

primitive description: Integer unary negation of I.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.191 NONZERO_HASH

Primitive defined at file ‘warmelt-base.melt’, line 76.

result type: LONG

primitive description: Gives a pseudo-random non-zero number suitable as an hash code.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.192 NOT

Primitive defined at file ‘warmelt-first.melt’, line 1023.

result type: LONG

primitive formals:

indextypename
0LONGI

primitive description: Integer unary logical negation of I.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.193 NOTI

Primitive defined at file ‘warmelt-base.melt’, line 154.

result type: LONG

primitive formals:

indextypename
0LONGI

primitive description: Integer unary bitwise complement of I.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.194 NOTNULL

Primitive defined at file ‘warmelt-base.melt’, line 159.

result type: LONG

primitive formals:

indextypename
0VALUEV

primitive description: Test that V is not the null value.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.195 NULL

Primitive defined at file ‘warmelt-first.melt’, line 1049.

result type: LONG

primitive formals:

indextypename
0VALUEV

primitive description: Test that V is the null value.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.196 OBJECT_LENGTH

Primitive defined at file ‘warmelt-base.melt’, line 575.

result type: LONG

primitive formals:

indextypename
0VALUEOB

primitive description: Gives the length of object OB.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.197 OBJECT_NTH_FIELD

Primitive defined at file ‘warmelt-base.melt’, line 579.

result type: VALUE

primitive formals:

indextypename
0VALUEOB
1LONGN

primitive description: Safely retrieve from object OB its N-th field or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.198 OBJ_HASH

Primitive defined at file ‘warmelt-base.melt’, line 59.

result type: LONG

primitive formals:

indextypename
0VALUEV

primitive description: Safely gives the hashcode of object V or else 0.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.199 OBJ_LEN

Primitive defined at file ‘warmelt-base.melt’, line 65.

result type: LONG

primitive formals:

indextypename
0VALUEV

primitive description: Safely gives the length of object V or else 0.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.200 OBJ_NUM

Primitive defined at file ‘warmelt-base.melt’, line 71.

result type: LONG

primitive formals:

indextypename
0VALUEV

primitive description: Safely gives the number of object V or else 0.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.201 ORI

Primitive defined at file ‘warmelt-base.melt’, line 147.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer binary bitwise or of A and B.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.202 OUTCSTRING_DBG

Primitive defined at file ‘warmelt-base.melt’, line 166.

result type: VOID

primitive formals:

indextypename
0CSTRINGS

primitive description: output a debug string S.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.203 OUTCSTRING_ERR

Primitive defined at file ‘warmelt-base.melt’, line 182.

result type: VOID

primitive formals:

indextypename
0CSTRINGS

primitive description: Output on stderr the string S.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.204 OUTNEWLINE_DBG

Primitive defined at file ‘warmelt-base.melt’, line 176.

result type: VOID

primitive description: output a debug newline.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.205 OUTNEWLINE_ERR

Primitive defined at file ‘warmelt-base.melt’, line 411.

result type: VOID

primitive description: Output on stderr a newline and flush.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.206 OUTNUM_DBG

Primitive defined at file ‘warmelt-base.melt’, line 168.

result type: VOID

primitive formals:

indextypename
0CSTRINGPREF
1LONGL
2CSTRINGSUF

primitive description: debug output an integer L with prefix PREF and suffix SUF.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.207 OUTNUM_ERR

Primitive defined at file ‘warmelt-base.melt’, line 179.

result type: VOID

primitive formals:

indextypename
0CSTRINGPREF
1LONGL
2CSTRINGSUF

primitive description: output on stderr the number L with prefix PREF and suffix SUF.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.208 OUTPUT_EDGE

Primitive defined at file ‘xtramelt-ana-base.melt’, line 1900.

result type: VOID

primitive formals:

indextypename
0VALUEOUT
1EDGEEDG

primitive description: Output to OUT the edge EDG


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.209 OUTPUT_LENGTH

Primitive defined at file ‘warmelt-base.melt’, line 457.

result type: LONG

primitive formals:

indextypename
0VALUEOUT

primitive description: Return the length of a given output OUT (i.e. the used length if it is a string buffer, the file position if it is a file) or else 0.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.210 OUTPUT_SBUF_STRCONST

Primitive defined at file ‘warmelt-base.melt’, line 785.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1CSTRINGNAM

primitive description: Output into file named NAM the content of strinbuffer SBUF.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.211 OUTPUT_SBUF_STRVAL

Primitive defined at file ‘warmelt-base.melt’, line 789.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1VALUEVNAM

primitive description: Output into file named by string value VNAM the content of strinbuffer SBUF.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.212 OUTSTRBUF_DBG

Primitive defined at file ‘warmelt-base.melt’, line 174.

result type: VOID

primitive formals:

indextypename
0VALUESBUF

primitive description: output a debug stringbuffer value SBUF.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.213 OUTSTRBUF_ERR

Primitive defined at file ‘warmelt-base.melt’, line 185.

result type: VOID

primitive formals:

indextypename
0VALUESBUF

primitive description: Output on stderr the stringbuffer value SBUF.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.214 OUTSTR_DBG

Primitive defined at file ‘warmelt-base.melt’, line 171.

result type: VOID

primitive formals:

indextypename
0VALUESTR

primitive description: output a debug string value STR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.215 OUTSTR_ERR

Primitive defined at file ‘warmelt-base.melt’, line 415.

result type: VOID

primitive formals:

indextypename
0VALUESTR

primitive description: Output on stderr a MELT string.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.216 PAIR_HEAD

Primitive defined at file ‘warmelt-first.melt’, line 1448.

result type: VALUE

primitive formals:

indextypename
0VALUEPA

primitive description: Safely retrieve the head of pair value PA or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.217 PAIR_LISTLENGTH

Primitive defined at file ‘warmelt-base.melt’, line 198.

result type: LONG

primitive formals:

indextypename
0VALUEPA

primitive description: Compute the linked length of given pair value PA or else 0.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.218 PAIR_SET_HEAD

Primitive defined at file ‘warmelt-base.melt’, line 193.

result type: VOID

primitive formals:

indextypename
0VALUEPA
1VALUEHD

primitive description: Safely set in pair PA its head to HD. Please avoid using that to introduce circularities in lists.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.219 PAIR_TAIL

Primitive defined at file ‘warmelt-first.melt’, line 1452.

result type: VALUE

primitive formals:

indextypename
0VALUEPA

primitive description: Safely retrieve the tail pair of pair value PA or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.220 PPSTRBUF_MIXBIGINT

Primitive defined at file ‘warmelt-base.melt’, line 263.

result type: VOID

primitive formals:

indextypename
0VALUESBUF
1LONGINDENT
2VALUEMB

primitive description: Pretty prints into string buffer SBUF at indentation INDENT the mixed bigint MB.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.221 PUT_INT

Primitive defined at file ‘warmelt-first.melt’, line 947.

result type: VOID

primitive formals:

indextypename
0VALUEV
1LONGI

primitive description: Safely puts the integer number I inside V, a boxed or mixed integer, or an object.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.222 READ_FILE

Primitive defined at file ‘warmelt-base.melt’, line 270.

result type: VALUE

primitive formals:

indextypename
0VALUEFILNAM

primitive description: Read from file named by the FILNAM string balue a list of MELT s-expressions.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.223 ROUTINE_DESCR

Primitive defined at file ‘warmelt-first.melt’, line 1296.

result type: VALUE

primitive formals:

indextypename
0VALUEROU

primitive description: Retrieve the descriptive value string of a routine ROU or else null.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.224 ROUTINE_NTH

Primitive defined at file ‘warmelt-first.melt’, line 1304.

result type: VALUE

primitive formals:

indextypename
0VALUEROU
1LONGIX

primitive description: Retrieve in routine value ROU its component of index IX.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.225 ROUTINE_SIZE

Primitive defined at file ‘warmelt-first.melt’, line 1300.

result type: LONG

primitive formals:

indextypename
0VALUEROU

primitive description: Gives the size of a routine value ROU, i.e. its number of constants.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.226 SHORTBACKTRACE_DBG

Primitive defined at file ‘warmelt-first.melt’, line 1059.

result type: VOID

primitive formals:

indextypename
0CSTRINGMSG
1LONGMAXDEPTH

primitive description: Short debug backtrace with message MSG up to MAXDEPTH.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.227 SPLIT_STRING_COLON

Primitive defined at file ‘warmelt-base.melt’, line 499.

result type: VALUE

primitive formals:

indextypename
0VALUEDIS
1CSTRINGCS

primitive description: Split a cstring CS into a list of colon separated strings of discriminant DIS.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.228 SPLIT_STRING_COMMA

Primitive defined at file ‘warmelt-base.melt’, line 494.

result type: VALUE

primitive formals:

indextypename
0VALUEDIS
1CSTRINGCS

primitive description: Split a cstring CS into a list of comma separated strings of discriminant DIS.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.229 SPLIT_STRING_SPACE

Primitive defined at file ‘warmelt-base.melt’, line 489.

result type: VALUE

primitive formals:

indextypename
0VALUEDIS
1CSTRINGCS

primitive description: Split a cstring CS into a list of space separated strings of discriminant DIS.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.230 STRBUF2STRING

Primitive defined at file ‘warmelt-base.melt’, line 505.

result type: VALUE

primitive formals:

indextypename
0VALUEDIS
1VALUESBUF

primitive description: make a string value of discriminant DIS from the stringbuffer SBUF.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.231 STRBUF_USEDLENGTH

Primitive defined at file ‘warmelt-base.melt’, line 453.

result type: LONG

primitive formals:

indextypename
0VALUESBUF

primitive description: Give the used length of given SBUF string buffer or else 0.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.232 STRING!=

Primitive defined at file ‘warmelt-base.melt’, line 484.

result type: LONG

primitive formals:

indextypename
0VALUES1
1VALUES2

primitive description: Test that value strings S1 and S2 are not equal as strings.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.233 STRING<

Primitive defined at file ‘warmelt-first.melt’, line 1096.

result type: LONG

primitive formals:

indextypename
0VALUES1
1VALUES2

primitive description: Test that value string S1 is less than S2, compared alphanumerically as strings.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.234 STRING=

Primitive defined at file ‘warmelt-base.melt’, line 479.

result type: LONG

primitive formals:

indextypename
0VALUES1
1VALUES2

primitive description: Test that value strings S1 and S2 are equal as strings.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.235 STRING>

Primitive defined at file ‘warmelt-first.melt’, line 1099.

result type: LONG

primitive formals:

indextypename
0VALUES1
1VALUES2

primitive description: Test that value string S1 is greater than S2.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.236 STRINGCONST2VAL

Primitive defined at file ‘warmelt-first.melt’, line 912.

result type: VALUE

primitive formals:

indextypename
0VALUEDISCR
1CSTRINGSTRC

primitive description: Convert a C-string constant STRC into a string value of discriminant DISCR. See also QUOTE macro applied to a string.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.237 STRING_LENGTH

Primitive defined at file ‘warmelt-base.melt’, line 475.

result type: LONG

primitive formals:

indextypename
0VALUESTR

primitive description: Give the length of string value STR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.238 SUBCLASS_OF

Primitive defined at file ‘warmelt-base.melt’, line 583.

result type: LONG

primitive formals:

indextypename
0VALUECL1
1VALUECL2

primitive description: Safely test if class CL1 is a sub-class of class CL2.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.239 SUBCLASS_OR_EQ

Primitive defined at file ‘warmelt-base.melt’, line 586.

result type: LONG

primitive formals:

indextypename
0VALUECL1
1VALUECL2

primitive description: Safely test if class CL1 is the same or a sub-class of class CL2.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.240 SUBSEQ_MULTIPLE

Primitive defined at file ‘warmelt-base.melt’, line 594.

result type: VALUE

primitive formals:

indextypename
0VALUEMUL
1LONGSTARTIX
2LONGENDIX

primitive description: Make a tuple from as subsequence of MUL from indexes STARTIX to ENDIX.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.241 THE_NULL_CSTRING

Primitive defined at file ‘warmelt-first.melt’, line 1069.

result type: CSTRING

primitive description: The null const cstring.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.242 VOID

Primitive defined at file ‘warmelt-base.melt’, line 43.

result type: VOID

primitive description: Return a void value. See IGNORE and CTYPE_VOID.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.243 WARNINGMSG_PLAIN

Primitive defined at file ‘warmelt-base.melt’, line 299.

result type: VOID

primitive formals:

indextypename
0CSTRINGCMSG

primitive description: Show a plain warning with raw message string CMSG.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.244 WARNINGMSG_STRV

Primitive defined at file ‘warmelt-first.melt’, line 1460.

result type: VOID

primitive formals:

indextypename
0CSTRINGCMSG
1VALUESTRV

primitive description: Show a plain warning with raw message string CMSG and string value STRV.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.245 WARNINGMSG_STRV

Primitive defined at file ‘warmelt-base.melt’, line 313.

result type: VOID

primitive formals:

indextypename
0CSTRINGCMSG
1VALUESTRV

primitive description: Show a plain warning with raw message string CMSG and string value STRV.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.246 WARNING_PLAIN

Primitive defined at file ‘warmelt-base.melt’, line 294.

result type: VOID

primitive formals:

indextypename
0VALUELOC
1CSTRINGCMSG

primitive description: Show a plain warning at boxed location LOC with raw message string CMSG.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.247 WARNING_STRV

Primitive defined at file ‘warmelt-base.melt’, line 289.

result type: VOID

primitive formals:

indextypename
0VALUELOC
1CSTRINGCMSG
2VALUESTRV

primitive description: Show a warning at boxed location LOC with raw message string CMSG and string value STRV.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.248 XORI

Primitive defined at file ‘warmelt-base.melt’, line 149.

result type: LONG

primitive formals:

indextypename
0LONGA
1LONGB

primitive description: Integer binary bitwise exclusive-or of A and B.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4.249 ZEROP

Primitive defined at file ‘warmelt-base.melt’, line 163.

result type: LONG

primitive formals:

indextypename
0LONGI

primitive description: Test that I is zero.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated on June 22, 2011 using texi2html 1.82.