-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a800741
commit 4cc7c9b
Showing
101 changed files
with
3,111 additions
and
3,111 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# **Sand** Programming Language | ||
- [Official documentation](https://xenon-lang.github.io/documentation) | ||
- [Official documentation](https://sand-lang.github.io/documentation) | ||
- [Discord server](https://discord.gg/sb5hRzW) |
File renamed without changes.
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
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
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
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
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
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
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
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
6 changes: 3 additions & 3 deletions
6
...ns/ExpressionHasNotClassTypeException.hpp → ...ns/ExpressionHasNotClassTypeException.hpp
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#pragma once | ||
|
||
#include <Xenon/Exceptions/CompilationException.hpp> | ||
#include <Sand/Exceptions/CompilationException.hpp> | ||
|
||
namespace Xenon | ||
namespace Sand | ||
{ | ||
class ExpressionHasNotClassTypeException : public CompilationException | ||
{ | ||
public: | ||
ExpressionHasNotClassTypeException(const fs::path &source, antlr4::Token *token) : ExpressionHasNotClassTypeException(source, token, token->getText()) {} | ||
ExpressionHasNotClassTypeException(const fs::path &source, antlr4::Token *token, const std::string &text) : CompilationException(source, "Expression has not class type: " + text, token) {} | ||
}; | ||
} // namespace Xenon | ||
} // namespace Sand |
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
8 changes: 4 additions & 4 deletions
8
include/Xenon/Exceptions/IndexException.hpp → include/Sand/Exceptions/IndexException.hpp
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#pragma once | ||
|
||
#include <Xenon/Exceptions/CompilationException.hpp> | ||
#include <Xenon/Type.hpp> | ||
#include <Sand/Exceptions/CompilationException.hpp> | ||
#include <Sand/Type.hpp> | ||
|
||
namespace Xenon | ||
namespace Sand | ||
{ | ||
class IndexException : public CompilationException | ||
{ | ||
public: | ||
IndexException(const fs::path &source, antlr4::Token *token, Type *index_type, Type *type) : CompilationException(source, "Invalid index of type '" + index_type->to_string() + "' on type: '" + type->to_string() + "'", token) {} | ||
}; | ||
} // namespace Xenon | ||
} // namespace Sand |
6 changes: 3 additions & 3 deletions
6
...tions/InvalidInputConstraintException.hpp → ...tions/InvalidInputConstraintException.hpp
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#pragma once | ||
|
||
#include <Xenon/Exceptions/CompilationException.hpp> | ||
#include <Sand/Exceptions/CompilationException.hpp> | ||
|
||
namespace Xenon | ||
namespace Sand | ||
{ | ||
class InvalidInputConstraintException : public CompilationException | ||
{ | ||
public: | ||
InvalidInputConstraintException(const fs::path &source, antlr4::Token *token) : InvalidInputConstraintException(source, token, token->getText()) {} | ||
InvalidInputConstraintException(const fs::path &source, antlr4::Token *token, const std::string &text) : CompilationException(source, "Invalid range: " + text + "(must be a class implementing .begin() and .end())", token) {} | ||
}; | ||
} // namespace Xenon | ||
} // namespace Sand |
6 changes: 3 additions & 3 deletions
6
.../Exceptions/InvalidLeftValueException.hpp → .../Exceptions/InvalidLeftValueException.hpp
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#pragma once | ||
|
||
#include <Xenon/Exceptions/CompilationException.hpp> | ||
#include <Sand/Exceptions/CompilationException.hpp> | ||
|
||
namespace Xenon | ||
namespace Sand | ||
{ | ||
class InvalidLeftValueException : public CompilationException | ||
{ | ||
public: | ||
InvalidLeftValueException(const fs::path &source, antlr4::Token *token) : InvalidLeftValueException(source, token, token->getText()) {} | ||
InvalidLeftValueException(const fs::path &source, antlr4::Token *token, const std::string &text) : CompilationException(source, "Invalid left-value: " + text, token) {} | ||
}; | ||
} // namespace Xenon | ||
} // namespace Sand |
6 changes: 3 additions & 3 deletions
6
...enon/Exceptions/InvalidRangeException.hpp → ...Sand/Exceptions/InvalidRangeException.hpp
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#pragma once | ||
|
||
#include <Xenon/Exceptions/CompilationException.hpp> | ||
#include <Sand/Exceptions/CompilationException.hpp> | ||
|
||
namespace Xenon | ||
namespace Sand | ||
{ | ||
class InvalidRangeException : public CompilationException | ||
{ | ||
public: | ||
InvalidRangeException(const fs::path &source, antlr4::Token *token) : InvalidRangeException(source, token, token->getText()) {} | ||
InvalidRangeException(const fs::path &source, antlr4::Token *token, const std::string &text) : CompilationException(source, "Invalid range: " + text + "(must be a class implementing .begin() and .end())", token) {} | ||
}; | ||
} // namespace Xenon | ||
} // namespace Sand |
6 changes: 3 additions & 3 deletions
6
...Exceptions/InvalidRightValueException.hpp → ...Exceptions/InvalidRightValueException.hpp
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#pragma once | ||
|
||
#include <Xenon/Exceptions/CompilationException.hpp> | ||
#include <Sand/Exceptions/CompilationException.hpp> | ||
|
||
namespace Xenon | ||
namespace Sand | ||
{ | ||
class InvalidRightValueException : public CompilationException | ||
{ | ||
public: | ||
InvalidRightValueException(const fs::path &source, antlr4::Token *token) : InvalidRightValueException(source, token, token->getText()) {} | ||
InvalidRightValueException(const fs::path &source, antlr4::Token *token, const std::string &text) : CompilationException(source, "Invalid right-value: " + text, token) {} | ||
}; | ||
} // namespace Xenon | ||
} // namespace Sand |
6 changes: 3 additions & 3 deletions
6
...Xenon/Exceptions/InvalidTypeException.hpp → .../Sand/Exceptions/InvalidTypeException.hpp
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#pragma once | ||
|
||
#include <Xenon/Exceptions/CompilationException.hpp> | ||
#include <Sand/Exceptions/CompilationException.hpp> | ||
|
||
namespace Xenon | ||
namespace Sand | ||
{ | ||
class InvalidTypeException : public CompilationException | ||
{ | ||
public: | ||
InvalidTypeException(const fs::path &source, antlr4::Token *token) : InvalidTypeException(source, token, token->getText()) {} | ||
InvalidTypeException(const fs::path &source, antlr4::Token *token, const std::string &text) : CompilationException(source, "Invalid type: " + text, token) {} | ||
}; | ||
} // namespace Xenon | ||
} // namespace Sand |
Oops, something went wrong.