-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from btwael/underconstruction
The new mammouth
- Loading branch information
Showing
47 changed files
with
12,086 additions
and
49,837 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 |
---|---|---|
@@ -0,0 +1,73 @@ | ||
- [x] Comments | ||
- [x] SingleLine with # | ||
- [x] MultiLine with ### text ### | ||
- [x] Types | ||
- [x] Boolean | ||
- [x] Numbers | ||
- [x] decimal number | ||
- [x] negative number | ||
- [x] octal number | ||
- [x] hexadecimal number | ||
- [x] binary number | ||
- [x] floating point numbers | ||
- [x] Strings | ||
- [x] Heredocs | ||
- [x] Arrays | ||
- [x] null | ||
- [x] Type Juggling (Casting/Converting) | ||
- [x] Variables and Identifiers | ||
- [/] Better scoping and context | ||
- [x] Constants | ||
- [x] If as expression | ||
- [/] Operators | ||
- [x] Arithmetic Operators | ||
- [x] Assignment Operators | ||
- [x] Bitwise Operators | ||
- [x] Comparison Operators | ||
- [ ] Error Control Operators | ||
- [x] Execution Operators | ||
- [x] Incrementing/Decrementing Operators | ||
- [x] Logical Operators | ||
- [x] String Operators | ||
- [x] Type Operators | ||
- [x] Structures | ||
- [x] if | ||
- [x] else | ||
- [x] else if | ||
- [x] while | ||
- [x] do-while | ||
- [x] for | ||
- [x] foreach | ||
- [x] break | ||
- [x] continue | ||
- [x] switch | ||
- [x] declare | ||
- [x] return | ||
- [x] require | ||
- [x] include | ||
- [x] require_once | ||
- [x] include_once | ||
- [x] goto | ||
- [x] echo | ||
- [/] Classes and Objects | ||
- [x] new | ||
- [x] this (and @) | ||
- [x] The Basics | ||
- [x] Properties | ||
- [x] Class Constants | ||
- [x] implements in Autoloading Classes | ||
- [x] Constructors and Destructors | ||
- [x] Visibility | ||
- [x] Object Inheritance | ||
- [x] Scope Resolution Operator (::) | ||
- [x] Static Keyword | ||
- [x] Class Abstraction | ||
- [x] Object Interfaces | ||
- [ ] Traits | ||
- [x] Object Iteration | ||
- [x] Final Keyword | ||
- [x] Object Cloning | ||
- [x] Namespace | ||
- [x] Defining | ||
- [x] Defining with a block | ||
- [x] reference to namespace |
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 @@ | ||
coffee --compile --output lib/ src/ | ||
node generate.js |
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,3 @@ | ||
#!/bin/bash | ||
coffee --compile --output lib/ src/ | ||
node generate.js |
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,8 +1,2 @@ | ||
# Mammouth - Unfancy PHP # | ||
Mammouth is a small language that compiles into PHP, inspired by CoffeeScript. It's compiled to PHP codes/files that you can run in your PHP server. | ||
|
||
For documentation, usage, and examples, see: | ||
http://mammouth.wamalaka.com/ | ||
|
||
To suggest a feature, report a bug, or general discussion: | ||
http://github.com/btwael/mammouth/issues/ | ||
DON'T USE THIS VERSION - UNDER-DEV | ||
=================================== |
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
Oops, something went wrong.