-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
12 changed files
with
88 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!DOCTYPE html><html><head><title>CSS example</title></head><body><h1>Roses are red</h1><h2>Violets are blue</h2><span>Poems are hard</span><p>I am sorry</p><link rel="stylesheet" type="type/css" rel="assets/1.css"></body></html> | ||
<!DOCTYPE html><html><head><title>CSS example</title></head><body><h1>Roses are red</h1><h2>Violets are blue</h2><span>Poems are hard</span><p>I am sorry</p></body></html> |
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 @@ | ||
<!DOCTYPE html><html><head><title>Hello World!</title></head><body><!-- Start of meml component: navBar --><div>hello world from the nav</div><!-- End of meml component: navBar --><p>Basic website made with MEML!</p><p>1 + 2 = 3</p><p>BODMAS: -15</p><p>Brackets: 21</p><p>This string contains \"Excaped characters\"</p><!-- Start of meml component: helloComponent --><p>Hello TrickyPR. This comes from a component!</p><p>Test</p><!-- End of meml component: helloComponent --><a href="https://fushra.com" >Our website!</a><!-- This code was embedded from a HTML file --> | ||
<p>Hello from an imported html file!</p> | ||
<!-- Start of meml component: logic --><p>Hello TrickyPR</p><!-- End of meml component: logic --><!-- Start of meml component: logic --><p>Hello _trickypr</p><!-- End of meml component: logic --><!-- Start of meml component: logic --><p>Who are you?!</p><!-- End of meml component: logic --><p>Count: 0</p><p>Count: 1</p><p>Count: 2</p><p>Count: 3</p><p>Count: 4</p><p>Count: 5</p>fine</body></html> | ||
<!DOCTYPE html><html><head><title>Hello World!</title></head><body><!-- Start of meml component: navBar --><div>hello world from the nav</div><!-- End of meml component: navBar --><p>Basic website made with MEML!</p><p>1 + 2 = 3</p><p>BODMAS: -15</p><p>Brackets: 21</p><p>This string contains \"Excaped characters\"</p><!-- Start of meml component: helloComponent --><p>Hello TrickyPR. This comes from a component!</p><p>Test</p><!-- End of meml component: helloComponent --><a href="https://fushra.com" >Our website!</a><!-- Start of meml component: logic --><p>Hello TrickyPR</p><!-- End of meml component: logic --><!-- Start of meml component: logic --><p>Hello _trickypr</p><!-- End of meml component: logic --><!-- Start of meml component: logic --><p>Who are you?!</p><!-- End of meml component: logic --><p>Count: 0</p><p>Count: 1</p><p>Count: 2</p><p>Count: 3</p><p>Count: 4</p><p>Count: 5</p>fine</body></html> |
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 +1 @@ | ||
<!DOCTYPE html><html><head><title>CSS example</title></head><body><h1>Roses are red</h1><h2>Violets are blue</h2><span>Poems are hard</span><p>I am sorry</p><link rel="stylesheet" type="type/css" rel="../assets/1.css"></body></html> | ||
<!DOCTYPE html><html><head><title>CSS example</title></head><body><h1>Roses are red</h1><h2>Violets are blue</h2><span>Poems are hard</span><p>I am sorry</p></body></html> |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './Expr' | ||
export * from './Stmt' |
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 +1,2 @@ | ||
export * as AstNodes from './AstNodes' | ||
export * from './Parser' |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './Web' | ||
export * from './shared' |
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,17 @@ | ||
export * from './Web' | ||
export * from './loaders' | ||
export * from './shared' | ||
export * as Targets from './Targets' | ||
|
||
/** | ||
* Loaders are the method of resolving and loading files into the MEML web targeter. | ||
* The easiest way to add a new language to the web target, is to add a custom | ||
* loader. All loaders must implement {@Link ILoader} and all necessary | ||
* methods. | ||
* | ||
* | ||
* | ||
* Additionally, if you want to use a custom loader system (e.g. webpack), you | ||
* would implement ILoader, wipe {@Link MemlCore.globalLoaders} and add your | ||
* own loader | ||
* | ||
* @TODO Migrate linker.ts to a class that can be extended and overridden for additional support of other builders (e.g. webpack) | ||
*/ | ||
export * as Loaders from './loaders' |
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