View Full Version : DW Doctrine file language.
Always wanted to ask this: are the Doctrines written in some kind of custom script or they are written in one of the programming languages?
324 views but not 1 answer. Maybe, I will be lucky this time!
Alcon2009
01-27-22, 01:54 PM
I know this post is like 999 years old but, i think it is Java language (if im not wrong) i can't promise or confirm it is java but it seems like it
Halcyon
01-30-22, 05:03 AM
I know this post is like 999 years old but, i think it is Java language (if im not wrong) i can't promise or confirm it is java but it seems like it
It's not Java or Javascript.
It's most likely ALGOL 60 or Assembly, since they're using the semicolon ; to write comments, instead of using the semicolon to end statements.
It really looks a lot like the Kernel language though, which shares elements of C and Assembly.
Alcon2009
01-30-22, 10:13 AM
Oh ok, i've been doubting it is javascript too, it looks similar, thanks.
I have written a Syntax Checker for the doctrine language but more than 10 years ago, and I fool have not put it to Github or else elsewhere, and I have lost it :(. Took me quite some time to write it.
I have written a Syntax Checker for the doctrine language but more than 10 years ago, and I fool have not put it to Github or else elsewhere, and I have lost it . Took me quite some time to write it.
:wah:
What was exactly in this Syntax Checker and do you know what programing language DW doctrines were written in?
it just checked the syntax :D. I guess it was just a DSL/scripting language, designed by Sonalysts
I'm a good way through writing a Doctrine file interpreter. I was making a simulator of a real platforms ASW avionics, and I wanted a way to give my "targets" intelligence. Instead of writing my own, I'm going to use the DW Doctrine files and interpret them.
cburgess
02-21-23, 06:14 PM
Always wanted to ask this: are the Doctrines written in some kind of custom script or they are written in one of the programming languages?
IIRC - Sonalysts created a custom scripting language so that object behavior can be tweaked and customized as needed. They use this engine in their DoD work. Using Doctrine files made more sense to them rather than hard-coding the Doctrines into the game/engine.
They did provide the modding community with documentation that explains it all.
Note to modders: anything we do in modding ("derivative") any of SCS software belongs to SCS per the EULA. Thus none of us "owns" any of our modding work.
That said, it is a lot of fun and worth the effort.
Aktungbby
02-21-23, 09:26 PM
cburgess!:Kaleun_Salute:
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.