propeller.problems.PSB2.camel-case
=========== PROBLEM DESCRIPTION =====================================
CAMEL CASE from PSB2
Take a string in kebab-case and convert all of the words to camelCase.
Each group of words to convert is delimited by "-", and each grouping
is separated by a space. For example: "camel-case example-test-string"
→ "camelCase exampleTestString"
Source: https://arxiv.org/pdf/2106.06086.pdf
=======================================================================
-main
(-main & args)
Runs propel-gp, giving it a map of arguments.
cleanup-length
(cleanup-length string len)
Remove spaces and dashes from end of string
error-function
(error-function argmap data individual)
Finds the behaviors and errors of an individual: Error is 0 if the value and
the program's selected behavior match, or 1 if they differ, or 1000000 if no
behavior is produced. The behavior is here defined as the final top item on
the STRING stack.
instructions
stack-specific instructions, input instructions, close, and constants
random-char
(random-char)
Return visible character ERC
word-generator
(word-generator)
Word generator for string ERC