CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 05 Aug 2025 21:40:32 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090215191115
location: https://web.archive.org/web/20090215191115/https://github.com/icefox/smada/tree/
server-timing: captures_list;dur=0.951251, exclusion.robots;dur=0.028876, exclusion.robots.policy;dur=0.014140, esindex;dur=0.015729, cdx.remote;dur=47.556640, LoadShardBlock;dur=801.117385, PetaboxLoader3.datanode;dur=712.416467, PetaboxLoader3.resolve;dur=62.568305
x-app-server: wwwb-app204
x-ts: 302
x-tr: 896
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app204; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Tue, 05 Aug 2025 21:40:33 GMT
content-type: text/html; charset=utf-8
content-length: 108
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Sun, 15 Feb 2009 19:11:15 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090215191115/https://github.com/icefox/smada/tree/master
x-archive-orig-x-runtime: 28ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 108
cache-control: max-age=1800
memento-datetime: Sun, 15 Feb 2009 19:11:15 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 12 Oct 2008 07:14:10 GMT", ; rel="prev memento"; datetime="Sun, 15 Feb 2009 13:13:33 GMT", ; rel="memento"; datetime="Sun, 15 Feb 2009 19:11:15 GMT", ; rel="last memento"; datetime="Sun, 15 Feb 2009 19:11:15 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_8_20090215185701_crawl101-c/52_8_20090215191013_crawl101.arc.gz
server-timing: captures_list;dur=0.929277, exclusion.robots;dur=0.030156, exclusion.robots.policy;dur=0.015578, esindex;dur=0.014203, cdx.remote;dur=87.886389, LoadShardBlock;dur=368.613075, PetaboxLoader3.resolve;dur=239.502880, PetaboxLoader3.datanode;dur=232.525730, load_resource;dur=136.141874
x-app-server: wwwb-app204
x-ts: 301
x-tr: 625
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 302
server: nginx
date: Tue, 05 Aug 2025 21:40:33 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090215131333
location: https://web.archive.org/web/20090215131333/https://github.com/icefox/smada/tree/master
server-timing: captures_list;dur=0.620842, exclusion.robots;dur=0.024305, exclusion.robots.policy;dur=0.012631, esindex;dur=0.015777, cdx.remote;dur=11.508848, LoadShardBlock;dur=225.093977, PetaboxLoader3.datanode;dur=91.985187, PetaboxLoader3.resolve;dur=129.148350
x-app-server: wwwb-app204
x-ts: 302
x-tr: 264
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Tue, 05 Aug 2025 21:40:34 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Sun, 15 Feb 2009 13:13:33 GMT
x-archive-orig-connection: close
x-archive-orig-set-cookie: _github_ses=BAh7ByIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7ADoOcmV0dXJuX3RvIi0vdGVjaG5vbWFuY3kvZW1hY3Mtc3RhcnRlci1raXQvd2lraXMvbmV3--183a884b80e97cb5e21c2bd24ff78a411b903f59; path=/; expires=Wed, 01 Jan 2020 08:00:00 GMT; HttpOnly
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 219ms
x-archive-orig-etag: "a0c91ab6c089c72a0a20bbfc4972c58f"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 19219
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 15 Feb 2009 13:13:33 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 11 Oct 2008 07:26:12 GMT", ; rel="prev memento"; datetime="Fri, 13 Feb 2009 23:53:37 GMT", ; rel="memento"; datetime="Sun, 15 Feb 2009 13:13:33 GMT", ; rel="next memento"; datetime="Tue, 17 Mar 2009 05:07:40 GMT", ; rel="last memento"; datetime="Fri, 17 Apr 2009 06:20:01 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_8_20090215130058_crawl103-c/52_8_20090215131113_crawl101.arc.gz
server-timing: captures_list;dur=0.970365, exclusion.robots;dur=0.035721, exclusion.robots.policy;dur=0.017465, esindex;dur=0.020130, cdx.remote;dur=47.924705, LoadShardBlock;dur=149.941423, PetaboxLoader3.datanode;dur=204.441016, load_resource;dur=182.885618, PetaboxLoader3.resolve;dur=120.229352
x-app-server: wwwb-app204
x-ts: 200
x-tr: 441
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
icefox's smada at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | A compiler and simulator class project at RIT |
Clone URL: |
git://github.com/icefox/smada.git
Give this clone URL to anyone.
git clone git://github.com/icefox/smada.git
|
smada /
name | age | message | |
---|---|---|---|
![]() |
LICENSE | Tue May 10 03:17:28 -0700 2005 | Initial commit [icefox] |
![]() |
README | Tue Oct 07 19:27:16 -0700 2008 | spelling and some clarification [icefox] |
![]() |
smada/ | Tue Oct 07 19:29:22 -0700 2008 | Do a quick pass through the code, formating it,... [icefox] |
![]() |
smadatron/ | Tue Oct 07 19:29:22 -0700 2008 | Do a quick pass through the code, formating it,... [icefox] |
![]() |
tests/ | Tue Oct 07 19:29:22 -0700 2008 | Do a quick pass through the code, formating it,... [icefox] |
While at RIT my Computer Science 4 project was a simulation of a simple operating system with that compiler. A compiler and simulator were created. The code that the compiler could interpret was similar to basic. The simulator would run the assembly that the compiler generated. Here is an example of some of the code that the compiler had to understand: 0 let x = 10 10 let x = x * 10 20 let x = 10 * x 30 print x 99 end I normally wouldn't put up school assignment, but I was proud of the compile that I created. We only had four weeks to complete the entire project (which consisted of many smaller components including the compiler). This gave us maybe a week to actually code the compiler. Out of the forty or so groups only two finished (include mine of course). The biggest problem for most groups beyond simply coding the compiler was trying to debug the compiler to make sure it was generating correct output. Each generated assembly statement such as <code>2098</code> contained two pieces of information. The action (in this case 20 = LOAD) and what to perform it on (in this case slot 98 in memory). Attempting to decider the generated assembly in our heads quickly became annoying and time consuming. I modified my compiler to generate smart comments to go with the assembly so that the output could quickly and easily be read and debugged. There were a number of other features in the compiler above and beyond the original project requirements, but it was this feature which made me keep the code and post it here. Here is a sample output of the above code generated by the compiler with smart debug turned on: Staring ASM output. ; Smada Instruction: let x = 10 ; Expression Starting. 2098 ; 0: Load Num: 10 ; Expression Ending. 2199 ; 1: let x = Expression (now in the register). ; Smada Instruction: let x = x * 10 ; Expression Starting. 2099 ; 2: Load variable: x 3398 ; 3: Register * 10 ; Expression Ending. 2199 ; 4: let x = Expression (now in the register). ; Smada Instruction: let x = 10 * x ; Expression Starting. 2098 ; 5: Load Num: 10 3399 ; 6: Register * x ; Expression Ending. 2199 ; 7: let x = Expression (now in the register). ; Smada Instruction: print x ; Expression Starting. 2099 ; 8: Load variable: x ; Expression Ending. 2197 ; 9: Store the register in temporary. 1197 ; 10: Print out the above expression (saved in temporary). ; Smada Instruction: end 4300 ; 11: End . .. ... .. . ; Variables Start. 0 ; Location: 97, Temporary Variable 10 ; Location: 98, Fixed Value. 0 ; Location: 99, Variable: x ; Variables End. There are two components that are included with the source. smada is a compiler and smadatron can execute binaries created by smada. Use qmake to create the makefiles.
This feature is coming soon. Sit tight!