{
  "translations" :{
    "en": {
      ".exerciseTitle": "Evaluating Postfix Expression",
      ".instructLabel": "Instructions:",
      ".instructions": "Evaluate the postfix expression. You can performe an operation on the two topmost values in a stack by moving an operator into the evaluator.",
      "av_postfix_expression": "Postfix Expression",
      "av_operand_stack": "Operand Stack",
      "av_evaluator": "Evaluator 2.0",
      "av_ms_com_operand": "The operand goes into the operand stack.",
      "av_ms_com_operator": "The operator goes into the evaluator.",
      "av_ms_com_pop": "The two topmost values from the stack are popped.",
      "av_ms_com_eval": "The evaluator calculates the value.",
      "av_ms_com_push": "<br/>And the value is pushed back onto the stack."
    },
    "fi": {
      ".exerciseTitle": "Postfix lausekkeen evaluointi",
      ".instructLabel": "Ohjeet:",
      ".instructions": "Evaluoi taulukossa näkyvä postfix lauseke viemällä operandit pinoon ja operaattorit laskimelle. Arvoja voi siirtää paikasta toiseen klikkaamalla. Laskuoperaatio suoritetaan pinon kahdelle ylimmälle alkiolle kun operaattori viedään laskimeen.",
      "av_postfix_expression": "Postfix-lauseke",
      "av_operand_stack": "Operandipino",
      "av_evaluator": "Laskin 2.0",
      "av_ms_com_operand": "Operandi viedään pinoon.",
      "av_ms_com_operator": "Operaattori annetaan laskimelle.",
      "av_ms_com_pop": "Kaksi päällimmäistä arvoa viedään pinosta laskimelle.",
      "av_ms_com_eval": "Laskin laskee arvon.",
      "av_ms_com_push": "<br/>Laskettu arvo viedään pinoon."
    }
  },
  "code": {
    "english": [
      "1. read postfix expression token by token",
      "2.   if the token is an operand, push it into the stack",
      "3.   if the token is a binary operator,",
      "3.1    pop the two top most operands from the stack",
      "3.2    apply the binary operator with the two operands",
      "3.3    push the result into the stack",
      "4. finally, the value of the whole postfix expression remains in the stack"
    ],
    "finnish": [
      "1. lue postfix lauseke merkki merkiltä",
      "2.   jos merkki on operandi, lisää se pinoon",
      "3.   jos merkki on operaattori,",
      "3.1    poista kaksi päällimmäistä operandia pinosta",
      "3.2    sovella operaattoria näihin operandeihin",
      "3.3    lisää tulos pinoon",
      "4. koko lausekkeen arvo on nyt päällimmäisenä pinossa"
    ]
  }
}