Initial repository commit.

This commit is contained in:
Brad Arant committed 2022-05-19 11:43:15 -07:00
commit fce97e04ff
21 files changed
+613

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#include "__for.h"
#include "Exception.h"
#include <iostream>
namespace jet {
__for::__for(coreutils::ZString &in, coreutils::MString &out) : Tag(in, out) {
if(!keywordExists(coreutils::ZString("begin")))
throw coreutils::Exception("begin keyword must be specified.");
if(!keywordExists(coreutils::ZString("end")))
throw coreutils::Exception("end keyword must be specified.");
for(;;) {
parseContainer(container);
}
}
}