Compare commits
3 Commits
9c38af4fd5
...
7e958c5658
Author | SHA1 | Date |
---|---|---|
Tristan B. Velloza Kildaire | 7e958c5658 | |
Tristan B. Velloza Kildaire | bf4e4138f7 | |
Tristan B. Velloza Kildaire | 81ae4bb20b |
|
@ -8,7 +8,7 @@ module tlang.commandline.commands;
|
|||
|
||||
import jcli;
|
||||
import std.stdio;
|
||||
import misc.exceptions : TError;
|
||||
import tlang.misc.exceptions : TError;
|
||||
import std.exception : ErrnoException;
|
||||
import tlang.compiler.lexer.kinds.basic : BasicLexer;
|
||||
import tlang.compiler.lexer.core;
|
||||
|
|
|
@ -16,7 +16,7 @@ import tlang.compiler.typecheck.dependency.core : Context, FunctionData, DNode;
|
|||
import tlang.compiler.codegen.mapper.core;
|
||||
import tlang.compiler.symbols.data : SymbolType, Variable, Function, VariableParameter;
|
||||
import tlang.compiler.symbols.check : getCharacter;
|
||||
import misc.utils : Stack;
|
||||
import tlang.misc.utils : Stack;
|
||||
import tlang.compiler.symbols.typing.core;
|
||||
import tlang.compiler.configuration : CompilerConfiguration;
|
||||
import tlang.compiler.symbols.containers : Module;
|
||||
|
|
|
@ -13,7 +13,7 @@ import tlang.compiler.typecheck.exceptions;
|
|||
import core.stdc.stdlib;
|
||||
import tlang.compiler.codegen.emit.core;
|
||||
import tlang.compiler.codegen.emit.dgen;
|
||||
import misc.exceptions;
|
||||
import tlang.misc.exceptions;
|
||||
import tlang.compiler.codegen.mapper.core : SymbolMapper;
|
||||
import tlang.compiler.codegen.mapper.impls : HashMapper, LebanonMapper;
|
||||
import std.string : cmp;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
module tlang.compiler.lexer.core.exceptions;
|
||||
|
||||
import misc.exceptions : TError;
|
||||
import tlang.misc.exceptions : TError;
|
||||
import tlang.compiler.lexer.core.lexer : LexerInterface;
|
||||
import std.conv : to;
|
||||
|
||||
|
|
|
@ -255,7 +255,7 @@ public final class BasicLexer : LexerInterface
|
|||
* Here we check if we have a `.` and that the characters
|
||||
* preceding us were all good for an identifier
|
||||
*/
|
||||
import misc.utils;
|
||||
import tlang.misc.utils;
|
||||
|
||||
if (currentChar == LS.DOT)
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
module tlang.compiler.modman.exceptions;
|
||||
|
||||
import misc.exceptions;
|
||||
import tlang.misc.exceptions;
|
||||
import tlang.compiler.modman.modman : ModuleManager;
|
||||
|
||||
public final class ModuleManagerError : TError
|
||||
|
|
|
@ -7,7 +7,7 @@ import tlang.compiler.symbols.check;
|
|||
import tlang.compiler.symbols.data;
|
||||
import tlang.compiler.lexer.core;
|
||||
import core.stdc.stdlib;
|
||||
import misc.exceptions : TError;
|
||||
import tlang.misc.exceptions : TError;
|
||||
import tlang.compiler.parsing.exceptions;
|
||||
import tlang.compiler.core : Compiler;
|
||||
import std.string : format;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
module tlang.compiler.parsing.exceptions;
|
||||
|
||||
import tlang.compiler.parsing.core;
|
||||
import misc.exceptions;
|
||||
import tlang.misc.exceptions;
|
||||
import tlang.compiler.symbols.check;
|
||||
import tlang.compiler.symbols.data;
|
||||
import tlang.compiler.lexer.core.tokens : Token;
|
||||
|
|
|
@ -10,7 +10,7 @@ import tlang.compiler.lexer.core.tokens : Token;
|
|||
import std.conv : to;
|
||||
import std.string : isNumeric, cmp;
|
||||
import std.algorithm.searching : canFind;
|
||||
import misc.utils;
|
||||
import tlang.misc.utils;
|
||||
import tlang.misc.logging;
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
module tlang.compiler.typecheck.dependency.exceptions;
|
||||
|
||||
import misc.exceptions : TError;
|
||||
import tlang.misc.exceptions : TError;
|
||||
import std.conv : to;
|
||||
|
||||
// FIXME: Extend TError rather than Exception
|
||||
|
|
|
@ -6,7 +6,7 @@ module tlang.compiler.typecheck.dependency.store.interfaces;
|
|||
|
||||
import tlang.compiler.symbols.data : Function, Module;
|
||||
import tlang.compiler.typecheck.dependency.core : FunctionData;
|
||||
import misc.exceptions : TError;
|
||||
import tlang.misc.exceptions : TError;
|
||||
|
||||
/**
|
||||
* Represents a storage mechanism
|
||||
|
|
|
@ -5,7 +5,7 @@ import tlang.compiler.symbols.data;
|
|||
import tlang.compiler.typecheck.resolution;
|
||||
import std.string : cmp;
|
||||
import std.conv : to;
|
||||
import misc.exceptions: TError;
|
||||
import tlang.misc.exceptions: TError;
|
||||
import tlang.compiler.symbols.typing.core;
|
||||
|
||||
public class TypeCheckerException : TError
|
||||
|
|
|
@ -919,7 +919,7 @@ version(unittest)
|
|||
import tlang.compiler.lexer.core;
|
||||
import tlang.compiler.lexer.kinds.basic : BasicLexer;
|
||||
import tlang.compiler.typecheck.core;
|
||||
import misc.exceptions : TError;
|
||||
import tlang.misc.exceptions : TError;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
module misc.exceptions;
|
||||
module tlang.misc.exceptions;
|
||||
|
||||
//import gogga : generateMessage;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
module misc.utils;
|
||||
module tlang.misc.utils;
|
||||
|
||||
import std.string : cmp;
|
||||
import std.array : replace;
|
||||
|
|
Loading…
Reference in New Issue