Slightly better doc
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 28 Apr 2018 16:38:05 +0000 (19:38 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 28 Apr 2018 16:38:05 +0000 (19:38 +0300)
lib/App/Scheme79asm/Compiler.pm

index 417707f1358cf75a456972b7643fc63b7df1a0d5..de1ca0569baa8ff5f93b7852df631d711c6c773d 100644 (file)
@@ -241,8 +241,15 @@ L<App::Scheme79asm> wants it to be.
 The two main methods are B<compile_sexp>(I<$sexp>) which compiles an
 already-parsed sexp to assembly format, and
 B<compile_string>(I<$string>) which compiles a string to assembly
-format. The assembly format is a L<Data::SExpression> object that can
-be passed to App::Scheme79asm->B<process>.
+format.
+
+The assembly format is a sexp. These functions return an
+already-parsed sexp (an arrayref like the ones returned by
+L<Data::SExpression>'s B<read> method). This arrayref can be passed
+directly to L<App::Scheme79asm>'s B<process> method.
+
+If a string representation of the sexp is required, it can be obtained
+by calling the B<dump_sexp> function in L<Data::Dump::Sexp> with such an arrayref.
 
 =head1 AUTHOR
 
This page took 0.010344 seconds and 4 git commands to generate.