[parrot/parrot] a4b6f2: [imcc] rename to set_write_pasm, revamp api

GitHub noreply at github.com
Wed Mar 5 20:05:08 UTC 2014


  Branch: refs/heads/rurban/pasm_out
  Home:   https://github.com/parrot/parrot
  Commit: a4b6f262c9ef7bb608bf10a9c04af475d178ceec
      https://github.com/parrot/parrot/commit/a4b6f262c9ef7bb608bf10a9c04af475d178ceec
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-03-05 (Wed, 05 Mar 2014)

  Changed paths:
    M compilers/imcc/api.c
    M compilers/imcc/imcc.l
    M compilers/imcc/imclexer.c
    M compilers/imcc/instructions.c
    M compilers/imcc/instructions.h
    M compilers/imcc/main.c
    M frontend/parrot/main.c
    M frontend/parrot2/main.c
    M include/imcc/api.h
    M include/imcc/embed.h
    M src/interp/api.c
    M src/pmc/imccompiler.pmc

  Log Message:
  -----------
  [imcc] rename to set_write_pasm, revamp api

Improve docs of the imcc API

pasm_out:
Pass the outfile path to set_write_pasm, so that we can
initialize it emit_open. Since the lexer doesn't know the outfile name
check for NULL in the lexer called emit_open(). Already initialized earlier
by the frontend.

The new parrot needs to store the outfile for the pasm out api.




More information about the parrot-commits mailing list