Skip to content

Instantly share code, notes, and snippets.

View MohamedIBrahim's full-sized avatar

MohamedIBrahim MohamedIBrahim

View GitHub Profile
@MohamedIBrahim
MohamedIBrahim / Parse and Translate an Expression
Created October 24, 2011 08:58
Simple Parse and Translate an Expression
{ Parse and Translate an Expression }
procedure Expression;
begin
Term;
EmitLn('MOVE D0,D1');
case Look of
'+': Add;
'-': Subtract;
else Expected('Addop');
end;
@MohamedIBrahim
MohamedIBrahim / New Boston C# Course
Created October 23, 2011 16:05
New Boston C# Course Videos on Youtube
http://www.youtube.com/
http://www.youtube.com/watch?v=B2ZsdS2s2G0
http://www.youtube.com/watch?v=psLMm4FRTq8
http://www.youtube.com/watch?v=1GJENmBJCB8
http://www.youtube.com/watch?v=CkB6Y5tv5Jk
http://www.youtube.com/watch?v=t68MaJMSAfM
http://www.youtube.com/watch?v=U-Ya5K0pLsY
http://www.youtube.com/watch?v=jKq3FS8TB4s
http://www.youtube.com/watch?v=Et2rhtxHt1E
@MohamedIBrahim
MohamedIBrahim / little interpreter
Created October 23, 2011 09:44
a little interpreter, just for fun
module Main where
import AST
import Parser
import Control.Monad.State
import Data.List
import System.IO
@MohamedIBrahim
MohamedIBrahim / Compiler Reading
Created October 23, 2011 09:03
My compilers Reading at first in Moga Programming Langauge Project
Design my programming Langauge which called Moga
1- Read About Compilers Design
* Read About Language Design Issus
* Read About Language Design History
* Read About Other Programming Languages Projects
* Read Discussing Topics About Langauge Design
* Read Public Researchs about Programming Langauge Design
* Read About Simple One-Pass Compiler
* Read About Multi-pass compiler