Minimal programming language prototype, created with goal to have very small compiler, so that anyone can write his own compiler for it.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 line
463B

  1. одреди слово = 1;
  2. одреди број = 4;
  3. одреди описивач (
  4. улаз,
  5. излаз)
  6. одреди системски_позив (
  7. читај = 0,
  8. пиши = 1,
  9. отвори = 2,
  10. затвори = 3,
  11. изађи = 60)
  12. текст: слово = "Здраво свете!";
  13. дужина: број = 12;
  14. главна_процедура ():
  15. изврши (пиши, излаз, #текст, дужина);
  16. врати;;