@edadma/logo 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -3
- package/dist/logo.js +19881 -15408
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -163,13 +163,31 @@ interface TurtleState {
|
|
|
163
163
|
- `stop` - Stop procedure
|
|
164
164
|
|
|
165
165
|
### Math
|
|
166
|
-
- `sum`, `difference`, `product`, `quotient`
|
|
167
|
-
- `sin`, `cos`, `tan`, `sqrt`, `pow`
|
|
168
|
-
-
|
|
166
|
+
- `sum`, `difference`, `product`, `quotient`, `remainder`
|
|
167
|
+
- `sin`, `cos`, `tan`, `sqrt`, `pow`, `exp`, `ln`, `log10`
|
|
168
|
+
- `asin`, `acos`, `atan`, `atan2` - inverse trig (complex-aware)
|
|
169
|
+
- `abs`, `int`, `round`, `floor`, `ceiling`, `sign`
|
|
170
|
+
- `min`, `max` - variadic min/max
|
|
171
|
+
- `random` - random number
|
|
172
|
+
- `pi`, `e` - constants
|
|
173
|
+
- Infix operators: `+`, `-`, `*`, `/`, `^`, `=`, `<`, `>`, `<=`, `>=`
|
|
174
|
+
|
|
175
|
+
### Strings
|
|
176
|
+
- `lowercase`, `uppercase` - case conversion
|
|
177
|
+
- `ascii`, `char` - character codes
|
|
169
178
|
|
|
170
179
|
### Variables
|
|
171
180
|
- `make "name <value>` - Set variable
|
|
172
181
|
- `:name` - Get variable value
|
|
182
|
+
- `thing "name` - Get variable value
|
|
183
|
+
|
|
184
|
+
### Lists
|
|
185
|
+
- `first`, `last`, `butfirst` (`bf`), `butlast` (`bl`)
|
|
186
|
+
- `fput`, `lput`, `item`, `count`
|
|
187
|
+
- `list`, `sentence` (`se`), `word`
|
|
188
|
+
- `range` / `iseq` - generate sequences: `range 5` → `[0 1 2 3 4]`
|
|
189
|
+
- `reverse`, `pick` - list utilities
|
|
190
|
+
- `emptyp`, `listp`, `wordp`, `numberp`, `memberp` - predicates
|
|
173
191
|
|
|
174
192
|
## License
|
|
175
193
|
|