Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
J
 Jump Statements
K
 key_list
 key_to_int
 Keyboard Primitives
 keyboard_flush
 keyboard_pop
 keyboard_push
 keyboard_typeables
 Keyboards
 Keywords
L
 Language Specification
 lastof
 Lazy Evaluation
 ldexp
 left
 length_of_list
 Lexical elements
 libarchive
 libbzip2
 libcharudet
 libguess
 liblzma
 libmagic
 Library Reference
 libregex
 libteken
 libz
 Line Numbers
 link
 list
 List Primitives
 List Types
 list_each
 list_extract
 list_of_dictionaries
 list_reset
 Literals
 load_keystroke_macro
 load_macro
 localtime
 log
 log10
 Logical Operators
 lower
 lstat
 ltrim
A jump statement causes execution to continue at a specific place in a program, without executing any other intervening statements.
list key_list(int kbdid,
  [int self_inserts = 0],
 [int bufnum])
Retrieve keyboard bindings.
int key_to_int(string key,
int raw)
Convert key name to a code.
void keyboard_flush()
Flush the keyboard buffer.
void keyboard_pop([int save = FALSE])
Pop a keyboard from the keyboard stack.
void keyboard_push([int kbdid])
Push a keyboard onto the keyboard stack.
int keyboard_typeables()
Assign self_insert to all typeable keys.
Most of Grief’s keyboard input is either via the command prompt get_parm or executed through the use of keyboard resources.
A keyword is a reserved identifier used by the language to describe a special feature.
The syntax utilised by the Grief macro language allows one to create macros using commands written in a C based programming language.
int lastof(string str,
string chars,
 [int &result])
Rightmost character search.
To fully understand the Grief calling convention, examples of parameter implementation are required.
float ldexp(float val,
int exp)
Multiply by a power of two.
int left([int columns = 1],
[int wrap = TRUE])
Move position left one charcter.
int length_of_list(list lst)
Determine list element count.
Source is broken down into a number of tokens classes, identifiers, expression operators, and other separators.
libarchive 3.3.3 and 3.6.1
bzip2 is a freely available, patent free, high-quality data compressor.
Mozilla Universal Charset Detector.
High-speed character set detection.
XZ Utils is free general-purpose data compression software with a high compression ratio.
file-5.29, sourced from OpenBSD.
This section contains the description for the all the Grief macro primitives.
Henry Spencer’s libregex
libteken: terminal emulator library
Zlib Data compress library.
When reporting errors and warnings, a Grief compiler uses a source-code location that includes a file name and line number.
int link(string path1,
string path2)
Link a file.
list sym1, sym2 ...;
Declare a list symbol.
A list is a collection of objects of any type.
int list_each(list lst,
 declare &value,
 [int increment = 1])
Iterator though the list elements.
list list_extract(list lst,
 int start,
 [int end],
 [int increment])
Extract list elements.
list list_of_dictionaries(  [bool nonempty = false],
[bool named = false])
List of created dictionaries.
int list_reset(list lst)
Reset the list iterator.
A literal is the source code representation of a value of a primitive type, the String type , or the list type.
int load_keystroke_macro(string def)
Load a recorded macro from a file.
int load_macro(string filename,
 [int reload = 1])
Load a macro object.
int localtime([int time = NULL],
[int &year],
[int &mon],
[int &mday],
 [string &monname],
[string &dayname],
[int &hour],
 [int &min],
[int &sec])
Convert a time value to local time components.
float log(float x)
Natural logarithm.
float log10(float val)
Base 10 logarithm function.
Logical operations are executed by the following operators
string|int lower(string str|int character)
Convert string or character to lowercase.
int lstat(string path,
 [int size],
  [int mtime],
 [int ctime],
 [int atime],
 [int mode],
  [int uid],
 [string uid2name],
  [int gid],
 [string gid2name],
  [int nlink],
 [int inode])
Get symbolic link status.
string ltrim(string str,
 [string chars = " \\t\\r\\n"])
Chomp characters from the front of a string.