Search-engine friendly clone of the
ACL2 documentation
.
Top
Documentation
Books
Boolean-reasoning
Projects
Debugging
Std
Proof-automation
Macro-libraries
ACL2
Theories
Rule-classes
Proof-builder
Recursion-and-induction
Hons-and-memoization
Events
Parallelism
History
Programming
Defun
Declare
System-utilities
Stobj
State
Mutual-recursion
Memoize
Mbe
Io
Defpkg
Apply$
Loop$
Programming-with-state
Arrays
Characters
Time$
Loop$-primer
Fast-alists
Defconst
Defmacro
Evaluation
Guard
Equality-variants
Compilation
Hons
ACL2-built-ins
Developers-guide
System-attachments
Advanced-features
Set-check-invariant-risk
Numbers
Irrelevant-formals
Efficiency
Introduction-to-programming-in-ACL2-for-those-who-know-lisp
Redefining-programs
Lists
Invariant-risk
Errors
Defabbrev
Conses
Alists
Set-register-invariant-risk
Strings
Std/strings
Pretty-printing
Printtree
Base64
Charset-p
Strtok!
Cases
Concatenation
Html-encoding
Character-kinds
Substrings
Strtok
Equivalences
Url-encoding
Lines
Explode-implode-equalities
Ordering
Numbers
Decimal
Parse-nat-from-string
Parse-nat-from-charlist
Nat-to-dec-chars
Dec-digit-chars-value
Dec-digit-char-p
Dec-digit-char-listp
Take-leading-dec-digit-chars
Dec-digit-char-value
Dec-digit-char-list*p
Nat-to-dec-string-width
Nat-to-dec-string
Dec-digit-string-p
Strval
Skip-leading-digits
Nat-to-dec-string-size
Int-to-dec-string-width
Int-to-dec-string
Nonzero-dec-digit-char-p
Nat-to-dec-string-list
Int-to-dec-string-list
Revappend-nat-to-dec-chars
Hex
Octal
Binary
Pad-trim
Coercion
Std/strings/digit-to-char
Substitution
Symbols
String-listp
Stringp
Length
Search
Remove-duplicates
Position
Coerce
Concatenate
Reverse
String
Subseq
Substitute
String-upcase
String-downcase
Count
Char
String<
String-equal
String-utilities
String-append
String>=
String<=
String>
Hex-digit-char-theorems
String-downcase-gen
String-upcase-gen
Program-wrapper
Get-internal-time
Basics
Packages
Oracle-eval
Defmacro-untouchable
Primitive
<<
Revert-world
Unmemoize
Set-duplicate-keys-action
Symbols
Def-list-constructor
Easy-simplify-term
Defiteration
Fake-oracle-eval
Defopen
Sleep
Operational-semantics
Real
Start-here
Debugging
Miscellaneous
Output-controls
Macros
Interfacing-tools
Interfacing-tools
Hardware-verification
Software-verification
Math
Testing-utilities
Numbers
Decimal
Functions for working with decimal (base 10) numbers in strings.
Subtopics
Parse-nat-from-string
Parse a natural number from a string, at some offset.
Parse-nat-from-charlist
Parse a natural number from the beginning of a character list.
Nat-to-dec-chars
Convert a natural number into a list of characters.
Dec-digit-chars-value
Coerces a
dec-digit-char-list*p
into a natural number.
Dec-digit-char-p
Recognizer for numeric characters (0-9).
Dec-digit-char-listp
Recognize lists of decimal digit characters.
Take-leading-dec-digit-chars
Collect any leading digits from the start of a character list.
Dec-digit-char-value
Coerces a
dec-digit-char-p
character into a number.
Dec-digit-char-list*p
Recognizes lists of
dec-digit-char-p
characters.
Nat-to-dec-string-width
Convert a natural number into a string with the given width.
Nat-to-dec-string
Convert a natural number into a string with its digits.
Dec-digit-string-p
Recognizer for strings whose characters are all decimal digits.
Strval
Interpret a string as a decimal number.
Skip-leading-digits
Skip over any leading digits at the start of a character list.
Nat-to-dec-string-size
Number of characters in the decimal representation of a natural.
Int-to-dec-string-width
Convert an integer into a string with a fixed number of digits.
Int-to-dec-string
Convert an integer into a string with its digits.
Nonzero-dec-digit-char-p
Recognizer for non-zero numeric characters (1-9).
Nat-to-dec-string-list
Convert a list of natural numbers into a list of strings.
Int-to-dec-string-list
Convert a list of integers into a list of strings.
Revappend-nat-to-dec-chars
More efficient version of
(
revappend
(
nat-to-dec-chars
n) acc).