diff options
author | David Greene <greened@obbligato.org> | 2009-05-14 22:38:31 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2009-05-14 22:38:31 +0000 |
commit | 04c89a100940fa2649e4f8b1458a0e4a07e9d8ad (patch) | |
tree | bd237c2d0cb6a5ec6c114294dfdb5bd049d1501a /docs | |
parent | 2c38321556ce9b0ec69d7c228fe6cb7b07b6fd1e (diff) | |
download | external_llvm-04c89a100940fa2649e4f8b1458a0e4a07e9d8ad.zip external_llvm-04c89a100940fa2649e4f8b1458a0e4a07e9d8ad.tar.gz external_llvm-04c89a100940fa2649e4f8b1458a0e4a07e9d8ad.tar.bz2 |
Graduate LLVM to the big leagues by embedding a LISP processor into TableGen.
Ok, not really, but do support some common LISP functions:
* car
* cdr
* null
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71805 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/TableGenFundamentals.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html index 9607f9e..36798c8 100644 --- a/docs/TableGenFundamentals.html +++ b/docs/TableGenFundamentals.html @@ -411,6 +411,12 @@ aborts with an error. </dd> <dd>For each member 'b' of dag or list 'a' apply operator 'c.' 'b' is a dummy variable that should be declared as a member variable of an instantiated class. This operation is analogous to $(foreach) in GNU make.</dd> +<dt><tt>!car(a)</tt></dt> + <dd>The first element of list 'a.'</dd> +<dt><tt>!cdr(a)</tt></dt> + <dd>The 2nd-N elements of list 'a.'</dd> +<dt><tt>!null(a)</tt></dt> + <dd>An integer {0,1} indicating whether list 'a' is empty.</dd> </dl> <p>Note that all of the values have rules specifying how they convert to values |