README.md
December 4, 2022 ยท View on GitHub
Description
Source code to SrcTrans v1.65; Download to SrcTrans v2.0 Final; example TFF and InputFile
More Info
| Submitted On | |
| By | telle |
| Level | Intermediate |
| User Rating | 3.3 (23 globes from 7 users) |
| Compatibility | Delphi 5 |
| Category | Miscellaneous |
| World | Delphi |
| Archive File |
Source Code
How To Make A True Programming Language; Version 2
In version 1, i told you the concepts on how to make a true programming language. In this version, version 2, I will tell you how to use a special new version of my SrcTrans, The Source Code Translator to make a language. I will also give you the source to version 1.65;
Download SrcTrans v1.65 Sources
Download SrcTrans v2.0 Final
Download SrcTrans v1.65 Sources
Download SrcTrans v2.0 Final
Simple TransFormatFile:
program(001): program arg00 ;
var(001): var arg00 ;
body(000): begin ;
output(001): writeln(arg0) ;
endprog(000): end.;
setvar(002): arg0 := arg1 ;
Simple InputFile:
program HelloWorld.SBL
var Str
setvar Str,Hello World
body
output Str
endprog
this translates to:
program HelloWorld.SBL
Str := Hello World
begin
writeln(Str)
end.
anyway, thats just an example, have fun with it
v2.0 has a a few built in functions, but all you need todo in a dos prompt for v2.0 is type:
SrcTrans /?
and will give you information of the entire program.
Well i know its not much here, but its a lot in the long run. Please vote if you like this
Download SrcTrans v2.0 Final