This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------ Build started: Project: ConsoleApp3, Configuration: Debug Win32 ------ | |
Building Debug\ConsoleApp3.exe... | |
OPTLINK (R) for Win32 Release 8.00.12 | |
Copyright (C) Digital Mars 1989-2010 All rights reserved. | |
http://www.digitalmars.com/ctg/optlink.html | |
Debug\ConsoleApp3.obj(ConsoleApp3) | |
Error 42: Symbol Undefined _D3std7variant175__T8VariantNVk20TbTAyaTwTiTlTfTdTeTS3std8datetime4DateTS7sdlang_5token12DateTim3C8078137192C3E78E783E8A17EBEDF9 | |
Debug\ConsoleApp3.obj(ConsoleApp3) | |
Error 42: Symbol Undefined _D7sdlang_3ast3Tag147__T11MemberRangeTC7sdlang_3ast9AttributeVAyaa13_616c6c41747472696275746573VCBC11A73D55349AF5C5FDC85D9A6651F | |
Debug\ConsoleApp3.obj(ConsoleApp3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/++ | |
Defines a valid range of possible values for a data variable | |
+/ | |
module TheApp.DataVar; | |
import std.algorithm; | |
interface VarI | |
{ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module main; | |
import std.stdio; | |
interface A {} | |
class B(T) : A | |
{ | |
private: | |
T val; | |
public: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mixin(grammar(` | |
SDLang: | |
Tag <- Id Value* Attribute* ('=' '{' Tag* '}')? | |
Value <- | |
Id <- &NonDigit (IdChars)+ | |
NonDigit <- ![0-9] | |
IdChars <- ![` ~ "`" ~ `=:{}#/"\'] | |
`)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SDLangGrammar: | |
################# | |
###### Tags ##### | |
################# | |
Tag < Name? (Value :Spacing)* (Attribute :Spacing)* ('=' '{' (Tag :Spacing)* '}')? | |
Attribute < Name '=' Literal | |
Name < Identifier ':' Identifier | |
Identifier <~ ![0-9] IdChar+ | |
IdChar <- ![=:{}#/] !backquote !quote !doublequote !backslash . | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum string[] tokens = split (getFirstStringAttribute!T); | |
static if (! (tokens[0].equalsAnyOf (["lols", "lols-d"]) && tokens.length == 2)) // case insens | |
{ | |
} |