tests

parse @p
pass
(slaw %p '~migrev-dolseg')
pass!
[~ 81.237.861]
open fullpage test
fail parse on invalid @p
pass
(slaw %p '~notpat')
pass!
~
open fullpage test

go up

+slaw

parse cord as aura (unitized)

accepts
a cord
produces
a (unit dime)
source
++  slaw
  |=([mod=@tas txt=@ta]
  ::  omitited

commentary

this is the main entrypoint for parsing cords to dimes (typed atoms).

if the parsing fails, the unit will be empty (~).