This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Module dependencies. | |
*/ | |
var express = require('express') | |
, http = require('http') | |
, path = require('path') | |
, fs = require('fs') | |
, redis = require('redis'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Defines how to process a GenFor-Statement. | |
* | |
* @param stmtGenFor GenFor-Statement that should be processed | |
* @throws Exception in case of procession error | |
*/ | |
@Override | |
public void processStatement(StmtGenFor stmtGenFor) throws Exception { | |
final String F = String.format(INTERN_VARIABLE_FORMAT, "f"); | |
final String S = String.format(INTERN_VARIABLE_FORMAT, "s"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET PC, main ; jump direkt to main function | |
;; Converts a hex number to a dec number. | |
;; | |
;; @param A hex number | |
;; @return A dec number | |
;; @pre A <= 0x270F | |
:hex2dec | |
SET PUSH, I ; Prolog | |
SET PUSH, X ; | |