Register | Login
Welcome To code:zIRON

Ziron is a mixed high and low level programming language; but unlike other high level compilers, Ziron directly assembles the high level code into machine code. Ziron is intended to allow advanced programmers to write highly optimised code, but also for new and beginners to take a step into the world of assembly programming without the worry of a low level syntax.




(Sample) Building Blocks (structures):


Code:
program WIN32CUI 'test';

#include 'ch.zir';
#include 'fileio.zir';

////////
const strFileName = 'text.txt';
ZFile file;
char buf[512];
/////

inline procedure doFileOperation() {
  file.writeBuffer('Hello, World!\r\n');

  file.setSOF();

  file.readBuffer(@buf, 512);
  file.close();
  print(@buf);
}

if (file.append(strFileName) == True) {
  print('Appending file "', strFileName, '"\r\n');

  doFileOperation();
} else {
  print('Creating file "', strFileName, '"\r\n');

  if (file.create(strFileName) == True) {
    doFileOperation();
  } else {
    print('Unable to create file "', strFileName, '"\r\n');
  }
}

wait_key();
ExitProcess(0);

Latest Topics

Different results depending on the OS
0CodErr
Bugs and Fixes

No error message but it should be
0CodErr
Bugs and Fixes

inline function problem
0CodErr
Bugs and Fixes

Access violation
0CodErr
Bugs and Fixes

Augmented assignment
0CodErr
Requests and Feedback

StrUtils
0CodErr
RTL

const Copyright = '2011-2016 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd