Project

General

Profile

Actions

Task #9338

closed

Instruction decoding hints

Added by Alexander Kamkin over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
nML Translator
Target version:
Start date:
10/19/2018
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Published in build:
2.4.44

Description

There is a problem in decoding instructions/modes that define variables and them use them in images. The suggestion is to use hints in a special attribute decode.

mode X(x, y)
  init   = { tmp0 = f(x, y); tmp1 = g(x, y); }
  image  = format("...", tmp0, tmp1);
  decode = { x = Rf(tmp0, tmp1); y = Rg(tmp0, tmp1); }
Actions

Also available in: Atom PDF