[<<][staapl][>>][..]
Thu Apr 9 12:54:54 CEST 2009

refactoring

factored out asm-lambda.ss / asm-lambda-tx.ss implementing the DSL for
assembler/disassembler specification : now separate from symbol binding.

next: fix the disassembler as lazy list parsing step.

First step done: generic disassemble word (works also for arbitrary
literal fields) and a macro that expands to something like this:

box> (disassembler-body #'diff #'(k s) #'((118  7) (s  1) (k  8) (3 2)))
(lambda (w)
  (let-values (((field_0 s k field_3) (disassemble/values '(7 1 8 2) w)))
    (and (= field_3 3) (= field_0 118) (list 'diff k s))))



[Reply][About]
[<<][staapl][>>][..]