[英]what kind of language is that?
我收到了一段代碼,但我無法理解它是哪種語言。 它看起來像 C#,但 C# 使用“using”子句來導入庫,在此編程語言文件中它使用“use”子句。 我找不到有關“use”子句的任何信息,實際上我很困惑,因為這種編程語言看起來像 C#/Java/Visual Basic,但在這些語言中,我找不到“use”子句的用法。 奇怪的是代碼沒有使用任何方法,我收到的文件有一個 .txt 擴展名。
該文件是這樣開始的:
use Collection, File, Stream, String, System;
use Date;
include globals.routines.global_routines_generic;
include globals.routines.global_routines_mcc;
include globals.routines.global_classifier;
之后,他們用“var”子句聲明了一堆變量,然后一部分代碼如下所示:
File.createFolder(settings.path_files);
foreach(i, Folder in Folders) {
if (dlc.allfolders || String.contains(Folder, dlc.specific_folder)) {
Bestanden = File.iterateFiles(Folder.path, true);
stop_word_list = load_stop_words();
foreach(j, Bestand in Bestanden) {
if (rerun) {
if (!String.contains(Bestand, "ONBEKEND")) {
continue ;
}
}
writeAuditTrail (logfile, String.join(["Processing file " , Bestand]), 0, savelog);
folder_items = String.split(Bestand, "\\\\", false);
last_folder_name = folder_items[Collection.length(folder_items)-2];
dossier_tab = get_dossier_tab(folder_items[Collection.length(folder_items)-1], dlc);
possible_docs = dlc.HR_dossier_tabs[dossier_tab];
有誰知道那是一種什么樣的語言?
先感謝您
代碼最接近 C++。 它絕對不是 java,因為 java 沒有 foreach 循環、use 關鍵字和 var。 由於庫包含語法,它也可能不是 C#。 它可能是低級偽代碼,但不太可能,因為語法與基於 C 的語言非常接近。 在此處輸入鏈接描述
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.