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
Hex
Octal
Binary
Parse-bits-from-string
Parse-bits-from-charlist
Nat-to-bin-chars
Bin-digit-chars-value
Take-leading-bin-digit-chars
Bin-digit-char-listp
Skip-leading-bit-digits
Bin-digit-char-list*p
Bin-digit-string-p
Bin-digit-char-value
Strval2
Nat-to-bin-string
Bin-digit-char-p
Nat-to-bin-string-list
Nat-to-bin-string-size
Revappend-nat-to-bin-chars
Binify-width
Binify
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
Binary
Functions for working with binary numbers in strings.
Subtopics
Parse-bits-from-string
Parse a binary number from a string, at some offset.
Parse-bits-from-charlist
Parse a binary number from the beginning of a character list.
Nat-to-bin-chars
Convert a natural number into a list of bits.
Bin-digit-chars-value
Coerces a list of bit digits into a natural number.
Take-leading-bin-digit-chars
Collect any leading 0-1 characters from the start of a character list.
Bin-digit-char-listp
Recognize lists of binary digit characters.
Skip-leading-bit-digits
Skip over any leading 0-1 characters at the start of a character list.
Bin-digit-char-list*p
Recognizes lists of
bin-digit-char-p
characters.
Bin-digit-string-p
Recognizer for strings whose characters are all 0 or 1.
Bin-digit-char-value
Coerces a
bin-digit-char-p
character into a number, 0 or 1.
Strval2
Interpret a string as a binary number.
Nat-to-bin-string
Convert a natural number into a string with its bits.
Bin-digit-char-p
Recognizer for characters #\0 and #\1.
Nat-to-bin-string-list
Convert a list of natural numbers into a list of bit strings.
Nat-to-bin-string-size
Number of characters in the binary representation of a natural.
Revappend-nat-to-bin-chars
More efficient version of
(
revappend
(
nat-to-bin-chars
n) acc).
Binify-width
Convert numbers into readable binary strings, fixing the number of digits printed
Binify
Convert numbers into readable binary strings.