mirror of https://github.com/chyyuu/v8-cpu.git
Remove legacy http server
Signed-off-by: Junjie Mao <junjie.mao@enight.me>
This commit is contained in:
parent
0e85097d0a
commit
1f6be65347
10
Gruntfile.js
10
Gruntfile.js
|
@ -38,15 +38,6 @@ module.exports = function(grunt) {
|
|||
files: ['<%= jshint.files %>'],
|
||||
tasks: ['jshint', 'concat']
|
||||
},
|
||||
connect: {
|
||||
server: {
|
||||
options: {
|
||||
port: 8082,
|
||||
base: './',
|
||||
keepalive: true
|
||||
}
|
||||
}
|
||||
},
|
||||
php: {
|
||||
dist: {
|
||||
options: {
|
||||
|
@ -61,7 +52,6 @@ module.exports = function(grunt) {
|
|||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
grunt.loadNpmTasks('grunt-contrib-connect');
|
||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||
|
||||
grunt.registerTask('default', ['jshint', 'concat', 'uglify']);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Simple 8-bit V8-CPU Simulator with Assembler/C-subset Compiler
|
||||
# Simple 8-bit V8-CPU Simulator with Assembler/C-subset Compiler
|
||||
V8-CPU simulator is used for labs& exercises on first-year(freshman) undergraduate CS course "An Overview of Computer Science" in Dept. of CS in Tsinghua Univ. This simulator provides a simplified assembler/C syntax and is simulating a simple 8-bit RISC cpu. Press Help inside the simulator to see an overview about the supported instructions, which is based on Appendix C contents in <a href="http://www.amazon.com/Computer-Science-Overview-12th-Edition/dp/0133760065" target="_blank">Computer Science: An Overview</a> textbook.
|
||||
|
||||
####<a href="http://166.111.132.191:8080/" target="_blank">TRY IT ONLINE</a>
|
||||
|
@ -12,7 +12,7 @@ V8-CPU simulator is used for labs& exercises on first-year(freshman) undergradua
|
|||
|
||||
### How to build
|
||||
Make sure you have <a href="http://www.gruntjs.com/" target="_blank">Grunt</a> installed to compile the `asmsimulator.js` script.
|
||||
Run `grunt` to build the project.
|
||||
Run `npm install && grunt` to build the project and `grunt http` to run.
|
||||
|
||||
### Background
|
||||
A technical introduction is available on Marco Schweighauser's blog: [www.mschweighauser.com](https://www.mschweighauser.com/make-your-own-assembler-simulator-in-javascript-part1/).
|
||||
|
@ -20,7 +20,7 @@ A technical introduction is available on Marco Schweighauser's blog: [www.mschwe
|
|||
### License
|
||||
**The MIT License**
|
||||
|
||||
Copyright (c) 2015 Yuanchun Shi, Yu Chen, Junjie Mao, Yukang Yan
|
||||
Copyright (c) 2015 Yuanchun Shi, Yu Chen, Junjie Mao, Yukang Yan
|
||||
|
||||
Copyright (c) 2015 Marco Schweighauser
|
||||
|
||||
|
|
|
@ -8,11 +8,9 @@
|
|||
"angular": "~1.4.5",
|
||||
"grunt": "~0.4.1",
|
||||
"grunt-contrib-concat": "~0.3.0",
|
||||
"grunt-contrib-connect": "~0.6.0",
|
||||
"grunt-contrib-jshint": "~0.7.0",
|
||||
"grunt-contrib-uglify": "~0.2.4",
|
||||
"grunt-contrib-watch": "~0.5.3",
|
||||
"grunt-http-server": "0.0.2",
|
||||
"grunt-php": "^1.5.1",
|
||||
"load-grunt-tasks": "^3.2.0"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue