Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F3999952
tests.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jul 9, 3:22 AM
Size
370 B
Mime Type
text/x-c++
Expires
Sat, Jul 11, 3:22 AM (1 d, 6 h)
Engine
blob
Format
Raw Data
Handle
273216
Attached To
rXR Xreate
tests.cpp
View Options
#include "Scanner.h"
#include "Parser.h"
#include "ast.h"
#include <memory>
using namespace std;
void testParser_1()
{
shared_ptr<Scanner> scanner(new Scanner(L"scripts/input.xreate"));
shared_ptr<Parser> parser(new Parser(scanner.get()));
AST& root = parser->root;
LLVMLayer l;
root.compile(l);
root.run(l);
}
int main()
{
return 0;
}
Event Timeline
Log In to Comment