Method summary | |
---|---|
read-until | string until-part &key start from-end &allow-other-keys |
Function summary | |
---|---|
derive-base-name-from-type | type |
downcase | str |
get-base-name | name &key (remove-numeric-tail t) (remove-question-mark t) |
get-next-id-number | name |
internal-symb | &rest arguments |
make-const | &optional name (remove-numeric-tail t) |
make-id | &optional name |
make-kw | name |
make-random-string | &optional (length 30) |
make-var | &optional name |
mkstr | &rest arguments |
read-file-as-string | pathname |
remove-numeric-tail | name |
replace-char | string orig replacement |
reset-id-counters | |
split | string separator |
string-replace | str1 sub1 sub2 |
symb | &rest arguments |
upcase | str |
variable-p | x |
Returns part of the string until the until-part is encountered.
Return the next number to create the next unique id with the given name.
Return the base of the given name.
If base is a symbol then the base name is the symbol's name.
If base is a string then this string is the base name.
If remove-question-mark is true and the base name starts with a question-mark then this question-mark is removed from the base name.
If remove-numeric-tail is true and name is of the form 's-n', where s is a string of alphanumerical characters, and n is a string of numerical character, then the base is 's', i.e. the hyphen and trailing numerical characters are removed.
Make and intern the symbol with symbol-name (mkstr arguments).
Create and return a unique numbered id, which is a symbol whose symbol-name consists of a name and a number.
Create and return a unique FCG variable symbol.
Note that if you have the choice between passing a string or a symbol as the argument to make-var, make-const or make-id, then pass it the string. If you pass it the symbol then the implementation will simply take the symbol-name from it further ignore the symbol.
takes a string, e.g. "test" and turns it into a symbol interned in the keyword package, e.g. :test
Test whether x is a variable, i.e. whether it is a symbol of which the name starts with a question mark.
Create and return a unique FCG constant symbol.
Nondestructively replaces all occurences of sub1 in str1 by sub2
Destructively replaces all occurrences of a character in a string by another one
Generates and returns a random string length LENGTH. The string will consist solely of decimal digits and ASCII letters.