Commit 8d8a0d8d authored by Benoit Perrot's avatar Benoit Perrot
Browse files

Index: ChangeLog

from  Benoît Perrot  <benoit@lrde.epita.fr>

	Bump to nolimips-0.7

	* INSTALL, README, TODO,
	* Makefile.am, bootstrap,
	* configure.ac,
	* dev/doc-inst-set-gen.py, dev/inst-builder-gen.py,
	* dev/inst-makefile-gen.py, dev/inst-nodes-gen.py,
	* dev/inst-solver-gen.py, dev/nolimips.py,
	* dev/nolimips.xml, dev/parse-asm-parse-gen.py,
	* dev/parse-asm-scan-gen.py,
	* doc/Makefile.am, doc/macros.texi,
	* src/Makefile.am, src/common.hh, src/modules.hh,
	* src/inst/section.hh,
	* src/inst/data_section.hh, src/inst/data_section.cc
	* src/inst/text_section.hh, src/inst/text_section.cc,
	* src/inst/program.hh, src/inst/program_builder.cc,
	* src/inst/exp-visitor.hh, src/inst/exp.hh, src/inst/exp.cc
	* src/inst/inst-tasks.cc, src/inst/inst-tasks.hh, 
	* src/inst/inst.hh, src/inst/label.cc, src/inst/label.hh
	* src/inst/register.hh,
	* src/parse/Makefile.am, src/parse/asm-scan.hh,
	* src/parse/libparse.cc, src/parse/libparse.hh,
	* src/parse/parse-tasks.cc, src/parse/parse-tasks.hh,
	* src/shell/cmd.hh,
	* src/shell/shell-tasks.cc, src/shell/shell-tasks.hh,
	* src/shell/shell.cc, src/shell/shell.hh,
	* src/task/task-tasks.cc, src/task/task-tasks.hh,
	* src/task/task.cc, src/task/task.hh,
	* src/task/task_register.cc, src/task/task_register.hh,
	* src/vm/cp0.hh, src/vm/cpu.hh, src/vm/cpu.cc
	* src/vm/memory.hh, src/vm/mmu.hh, src/vm/segment.hh
	* src/vm/table.hh, src/vm/virtual_machine.hh
	* src/vm/vm-tasks.cc, src/vm/vm-tasks.hh
	* tests/Makefile.am, tests/generate-ref.mk, tests/good/check-good
	* tests/good/fact.s, tests/lexical/check-lexical,
	* tests/runtime/check-runtime, tests/solve/check-solve
	* tests/syntax/check-syntax, tests/unlimited/check-unlimited:
	Rename mipsy as nolimips.

	* dev/mipsy.py, dev/mipsy.xml,
	* doc/mipsy.texi,
	* src/mipsy.cc, src/mipsy-tasks.cc, src/mipsy-tasks.hh,
	* tests/mipsy-check:
	Move to...
	* dev/nolimips.py, dev/nolimips.xml,
	* doc/nolimips.texi,
	* src/nolimips.cc, src/nolimips-tasks.cc, src/nolimips-tasks.hh,
	* tests/nolimips-check:
	These new files.

	* NEWS, configure.ac:
	Bump to nolimips-0.7.
parent 5545ab7d
2004-05-29 Benot Perrot <benoit@lrde.epita.fr>
Bump to nolimips-0.7
* INSTALL, README, TODO,
* Makefile.am, bootstrap,
* configure.ac,
* dev/doc-inst-set-gen.py, dev/inst-builder-gen.py,
* dev/inst-makefile-gen.py, dev/inst-nodes-gen.py,
* dev/inst-solver-gen.py, dev/nolimips.py,
* dev/nolimips.xml, dev/parse-asm-parse-gen.py,
* dev/parse-asm-scan-gen.py,
* doc/Makefile.am, doc/macros.texi,
* src/Makefile.am, src/common.hh, src/modules.hh,
* src/inst/section.hh,
* src/inst/data_section.hh, src/inst/data_section.cc
* src/inst/text_section.hh, src/inst/text_section.cc,
* src/inst/program.hh, src/inst/program_builder.cc,
* src/inst/exp-visitor.hh, src/inst/exp.hh, src/inst/exp.cc
* src/inst/inst-tasks.cc, src/inst/inst-tasks.hh,
* src/inst/inst.hh, src/inst/label.cc, src/inst/label.hh
* src/inst/register.hh,
* src/parse/Makefile.am, src/parse/asm-scan.hh,
* src/parse/libparse.cc, src/parse/libparse.hh,
* src/parse/parse-tasks.cc, src/parse/parse-tasks.hh,
* src/shell/cmd.hh,
* src/shell/shell-tasks.cc, src/shell/shell-tasks.hh,
* src/shell/shell.cc, src/shell/shell.hh,
* src/task/task-tasks.cc, src/task/task-tasks.hh,
* src/task/task.cc, src/task/task.hh,
* src/task/task_register.cc, src/task/task_register.hh,
* src/vm/cp0.hh, src/vm/cpu.hh, src/vm/cpu.cc
* src/vm/memory.hh, src/vm/mmu.hh, src/vm/segment.hh
* src/vm/table.hh, src/vm/virtual_machine.hh
* src/vm/vm-tasks.cc, src/vm/vm-tasks.hh
* tests/Makefile.am, tests/generate-ref.mk, tests/good/check-good
* tests/good/fact.s, tests/lexical/check-lexical,
* tests/runtime/check-runtime, tests/solve/check-solve
* tests/syntax/check-syntax, tests/unlimited/check-unlimited:
Rename mipsy as nolimips.
* dev/mipsy.py, dev/mipsy.xml,
* doc/mipsy.texi,
* src/mipsy.cc, src/mipsy-tasks.cc, src/mipsy-tasks.hh,
* tests/mipsy-check:
Move to...
* dev/nolimips.py, dev/nolimips.xml,
* doc/nolimips.texi,
* src/nolimips.cc, src/nolimips-tasks.cc, src/nolimips-tasks.hh,
* tests/nolimips-check:
These new files.
* NEWS, configure.ac:
Bump to nolimips-0.7.
2004-05-20 Benot Perrot <benoit@lrde.epita.fr>
* src/misc/contract.hh,
......
Mipsy
*****
Nolimips
********
Requirements
============
The following tools must be available on the system to build Mipsy:
The following tools must be available on the system to build Nolimips:
* GNU C++ compiler
* GNU make
Extra development tools are needed to build a copy from Mipsy's repository:
Extra development tools are needed to build a copy from Nolimips' repository:
* automake >= 1.7, autoconf >= 2.53
* python >= 2.3
......@@ -23,7 +23,7 @@ Build process
Building a copy from repository
-------------------------------
Before building a copy from Mipsy's repository, and only in this case,
Before building a copy from Nolimips' repository, and only in this case,
run the following command to generate development files:
$ ./bootstrap
......@@ -33,12 +33,12 @@ Building the tarball
--------------------
The following command will check your system configuration and prepare
Mipsy for an installation in /usr/local. To specify another directory,
Nolimips for an installation in /usr/local. To specify another directory,
use the --prefix option of configure (see ./configure --help):
$ ./configure
Then build Mipsy:
Then build Nolimips:
$ make && make check
......
......@@ -4,8 +4,8 @@ SUBDIRS = config src doc tests
EXTRA_DIST = \
bootstrap \
dev/mipsy.xml \
dev/mipsy.py \
dev/nolimips.xml \
dev/nolimips.py \
dev/parse-asm-scan-gen.py \
dev/parse-asm-parse-gen.py \
dev/inst-makefile-gen.py \
......
Mipsy
*****
Nolimips
********
Description
===========
Mipsy is a basic MIPS architecture simulator. It supports a minimalist
Nolimips is a basic MIPS architecture simulator. It supports a minimalist
MIPS instruction set, implements some system calls (string printing, etc.)
and supports an arbitrary number of registers ($x0, $x1, etc.).
Please refer to .info files in doc/ directory for full documentation.
......@@ -13,8 +13,8 @@ Please refer to .info files in doc/ directory for full documentation.
Requirements
============
Mipsy does not need any specific library to work except libc and
libstdc++. Development tools needed for building or maintaining Mipsy
Nolimips does not need any specific library to work except libc and
libstdc++. Development tools needed for building or maintaining Nolimips
are listed in INSTALL file.
......@@ -22,7 +22,7 @@ Build and installation processes
================================
Build and installation processes are described in INSTALL file. Read it
attentively, especially before building a copy from Mipsy's repository.
attentively, especially before building a copy from Nolimips' repository.
Distribution content
......
Mipsy
*****
Nolimips
********
General
......
#!/bin/sh
cd src/inst && ../../dev/inst-makefile-gen.py < ../../dev/mipsy.xml && cd -
cd src/inst && ../../dev/inst-makefile-gen.py < ../../dev/nolimips.xml && cd -
autoreconf -f -v -i -m
##
## Configure Mipsy: a tiny MIPS emulator
## Configure Nolimips: a MIPS emulator with unlimited registers
##
## Project -----------------------------
AC_INIT([Mipsy], [0.6], [benoit@lrde.epita.fr], [mipsy])
AC_INIT([Nolimips], [0.7], [benoit@lrde.epita.fr], [nolimips])
## Setup autotools ---------------------
......
#!/usr/bin/env python
##
## This file is part of Mipsy, a tiny MIPS simulator
## This file is part of Nolimips, a MIPS simulator with unlimited registers
## Copyright (C) 2003, 2004 Benoit Perrot <benoit@lrde.epita.fr>
##
## Mipsy is free software; you can redistribute it and/or modify
## Nolimips is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## Mipsy is distributed in the hope that it will be useful,
## Nolimips is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
......@@ -21,19 +21,19 @@
import sys, os
import string, re
import mipsy
import nolimips
#### Mipsy's instruction set texi generator ----------------
#### Nolimips' instruction set texi generator --------------
parser = mipsy.InstructionSetParser()
parser = nolimips.InstructionSetParser()
instructions = parser.parse(sys.stdin)
sys.stdout = file("inst-set.texi.tmp", "w")
print """@comment Generated, do not edit by hand.
@node The Mipsy supported instruction set
@section The Mipsy supported instruction set"""
@node The Nolimips supported instruction set
@section The Nolimips supported instruction set"""
## Menu
print "@menu"
......@@ -62,5 +62,5 @@ for inst in instructions:
## Epilogue
sys.stdout.close()
sys.stdout = sys.__stdout__
mipsy.lazy_overwrite("inst-set.texi", "inst-set.texi.tmp")
nolimips.lazy_overwrite("inst-set.texi", "inst-set.texi.tmp")
os.remove("inst-set.texi.tmp")
#!/usr/bin/env python
##
## This file is part of Mipsy, a tiny MIPS simulator
## This file is part of Nolimips, a MIPS simulator with unlimited registers
## Copyright (C) 2003, 2004 Benoit Perrot <benoit@lrde.epita.fr>
##
## Mipsy is free software; you can redistribute it and/or modify
## Nolimips is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## Mipsy is distributed in the hope that it will be useful,
## Nolimips is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
......@@ -21,12 +21,12 @@
import sys, os
import string, re
import mipsy
from mipsy import license, depth, class_id
import nolimips
from nolimips import license, depth, class_id
#### Mipsy's program builder generator ---------------------
#### Nolimips' program builder generator -------------------
parser = mipsy.InstructionSetParser()
parser = nolimips.InstructionSetParser()
instructions = parser.parse(sys.stdin)
sys.stdout = file("program_builder.hh.tmp", "w")
......@@ -164,5 +164,5 @@ print """
## Epilogue
sys.stdout.close()
sys.stdout = sys.__stdout__
mipsy.lazy_overwrite("program_builder.hh", "program_builder.hh.tmp")
nolimips.lazy_overwrite("program_builder.hh", "program_builder.hh.tmp")
os.remove("program_builder.hh.tmp")
#!/usr/bin/env python
##
## This file is part of Mipsy, a tiny MIPS simulator
## This file is part of Nolimips, a MIPS simulator with unlimited registers
## Copyright (C) 2003, 2004 Benoit Perrot <benoit@lrde.epita.fr>
##
## Mipsy is free software; you can redistribute it and/or modify
## Nolimips is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## Mipsy is distributed in the hope that it will be useful,
## Nolimips is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
......@@ -21,12 +21,12 @@
import sys, os
import string, re
import mipsy
from mipsy import license, depth
import nolimips
from nolimips import license, depth
#### Mipsy's inst/Makefile.am generator --------------------
#### Nolimips' inst/Makefile.am generator ------------------
parser = mipsy.InstructionSetParser()
parser = nolimips.InstructionSetParser()
instructions = parser.parse(sys.stdin)
sys.stdout = file("Makefile.am.tmp", "w")
......@@ -51,18 +51,18 @@ BUILT_SOURCES = \\
program_solver.hh program_solver.cc inst-solver-gen.log
inst-nodes-gen.log: $(top_srcdir)/dev/inst-nodes-gen.py $(top_srcdir)/dev/mipsy.xml
$(top_srcdir)/dev/inst-nodes-gen.py < $(top_srcdir)/dev/mipsy.xml
inst-nodes-gen.log: $(top_srcdir)/dev/inst-nodes-gen.py $(top_srcdir)/dev/nolimips.xml
$(top_srcdir)/dev/inst-nodes-gen.py < $(top_srcdir)/dev/nolimips.xml
touch $@
$(FROM_INST_NODES_GEN_PY): inst-nodes-gen.log
inst-builder-gen.log: $(top_srcdir)/dev/inst-builder-gen.py $(top_srcdir)/dev/mipsy.xml
$(top_srcdir)/dev/inst-builder-gen.py < $(top_srcdir)/dev/mipsy.xml
inst-builder-gen.log: $(top_srcdir)/dev/inst-builder-gen.py $(top_srcdir)/dev/nolimips.xml
$(top_srcdir)/dev/inst-builder-gen.py < $(top_srcdir)/dev/nolimips.xml
touch $@
program_builder.hh: inst-builder-gen.log
inst-solver-gen.log: $(top_srcdir)/dev/inst-solver-gen.py $(top_srcdir)/dev/mipsy.xml
$(top_srcdir)/dev/inst-solver-gen.py < $(top_srcdir)/dev/mipsy.xml
inst-solver-gen.log: $(top_srcdir)/dev/inst-solver-gen.py $(top_srcdir)/dev/nolimips.xml
$(top_srcdir)/dev/inst-solver-gen.py < $(top_srcdir)/dev/nolimips.xml
touch $@
program_solver.hh program_solver.cc: inst-solver-gen.log
......@@ -92,5 +92,5 @@ libinst_a_SOURCES = \\
## Epilogue
sys.stdout.close()
sys.stdout = sys.__stdout__
mipsy.lazy_overwrite("Makefile.am", "Makefile.am.tmp")
nolimips.lazy_overwrite("Makefile.am", "Makefile.am.tmp")
os.remove("Makefile.am.tmp")
#!/usr/bin/env python
##
## This file is part of Mipsy, a tiny MIPS simulator
## This file is part of Nolimips, a MIPS simulator with unlimited registers
## Copyright (C) 2003, 2004 Benoit Perrot <benoit@lrde.epita.fr>
##
## Mipsy is free software; you can redistribute it and/or modify
## Nolimips is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## Mipsy is distributed in the hope that it will be useful,
## Nolimips is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
......@@ -21,18 +21,18 @@
import sys, os
import string
import mipsy
import nolimips
#### Mipsy's instruction classes generator -----------------
#### Nolimips' instruction classes generator ---------------
## Generate the class corresponding to an instruction
def class_generate(inst):
## Shortands
class_id = mipsy.class_id(inst.opcode)
define_id = mipsy.define_id(inst.opcode)
file_id = mipsy.file_id(inst.opcode)
banner = mipsy.license + "\n// Generated, do not edit by hand."
class_id = nolimips.class_id(inst.opcode)
define_id = nolimips.define_id(inst.opcode)
file_id = nolimips.file_id(inst.opcode)
banner = nolimips.license + "\n// Generated, do not edit by hand."
format = inst.format
## Open header, inline and implementation files
......@@ -229,11 +229,11 @@ def class_generate(inst):
# Check differences between old and new files
sys.stdout = sys.__stdout__
f.close()
mipsy.lazy_overwrite(file_id + "." + ext, file_id + "." + ext + ".tmp")
nolimips.lazy_overwrite(file_id + "." + ext, file_id + "." + ext + ".tmp")
os.remove(file_id + "." + ext + ".tmp")
## Main --------------------------------
parser = mipsy.InstructionSetParser()
parser = nolimips.InstructionSetParser()
instructions = parser.parse(sys.stdin)
## Generate classes files
......@@ -243,7 +243,7 @@ for inst in instructions:
## Generate all-includer
sys.stdout = file("all.hh.tmp", "w")
print mipsy.license
print nolimips.license
print "#ifndef INST_ALL_HH"
print "# define INST_ALL_HH"
for inst in instructions:
......@@ -252,12 +252,12 @@ for inst in instructions:
print "#endif // !INST_ALL_HH"
sys.stdout.close()
sys.stdout = sys.__stdout__
mipsy.lazy_overwrite("all.hh", "all.hh.tmp")
nolimips.lazy_overwrite("all.hh", "all.hh.tmp")
os.remove("all.hh.tmp")
## Generate all-declarator
sys.stdout = file("decl.hh.tmp", "w")
print mipsy.license
print nolimips.license
print "#ifndef INST_DECL_HH"
print "# define INST_DECL_HH"
print """
......@@ -266,7 +266,7 @@ namespace inst
"""
for inst in instructions:
if inst.level == "native":
print " class " + mipsy.class_id(inst.opcode) + ";"
print " class " + nolimips.class_id(inst.opcode) + ";"
print """
} // namespace inst
......@@ -274,12 +274,12 @@ print """
"""
sys.stdout.close()
sys.stdout = sys.__stdout__
mipsy.lazy_overwrite("decl.hh", "decl.hh.tmp")
nolimips.lazy_overwrite("decl.hh", "decl.hh.tmp")
os.remove("decl.hh.tmp")
## Generate visitor
sys.stdout = file("visitor.hh.tmp", "w")
print mipsy.license
print nolimips.license
print """#ifndef INST_VISITOR_HH
# define INST_VISITOR_HH
......@@ -303,7 +303,7 @@ namespace inst
for inst in instructions:
if inst.level == "native":
print " virtual void\tvisit(typename select_const<K, " \
+ mipsy.class_id(inst.opcode) + ">::type&) = 0;"
+ nolimips.class_id(inst.opcode) + ">::type&) = 0;"
print """
};
......@@ -315,5 +315,5 @@ print """
#endif // !INST_VISITOR_HH"""
sys.stdout.close()
sys.stdout = sys.__stdout__
mipsy.lazy_overwrite("visitor.hh", "visitor.hh.tmp")
nolimips.lazy_overwrite("visitor.hh", "visitor.hh.tmp")
os.remove("visitor.hh.tmp")
#!/usr/bin/env python
##
## This file is part of Mipsy, a tiny MIPS simulator
## This file is part of Nolimips, a MIPS simulator with unlimited registers
## Copyright (C) 2003, 2004 Benoit Perrot <benoit@lrde.epita.fr>
##
## Mipsy is free software; you can redistribute it and/or modify
## Nolimips is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## Mipsy is distributed in the hope that it will be useful,
## Nolimips is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
......@@ -21,12 +21,12 @@
import sys, os
import string, re
import mipsy
from mipsy import license, depth, class_id
import nolimips
from nolimips import license, depth, class_id
#### Mipsy's program solver generator ----------------------
#### Nolimips' program solver generator --------------------
parser = mipsy.InstructionSetParser()
parser = nolimips.InstructionSetParser()
instructions = parser.parse(sys.stdin)
......@@ -92,7 +92,8 @@ namespace inst
print " protected:"
for inst in instructions:
if inst.level == "native":
print " virtual void visit(" + mipsy.class_id(inst.opcode) + " &);"
print " virtual void visit(" +\
nolimips.class_id(inst.opcode) + " &);"
print """
protected:
......@@ -106,7 +107,7 @@ print """
sys.stdout.close()
sys.stdout = sys.__stdout__
mipsy.lazy_overwrite("program_solver.hh", "program_solver.hh.tmp")
nolimips.lazy_overwrite("program_solver.hh", "program_solver.hh.tmp")
os.remove("program_solver.hh.tmp")
......@@ -202,7 +203,7 @@ namespace inst
for inst in instructions:
if inst.level == "native":
var_id = mipsy.var_id(inst.opcode)
var_id = nolimips.var_id(inst.opcode)
content = ""
for attribute in inst.format.attributes:
......@@ -218,11 +219,11 @@ for inst in instructions:
print " void"
if content != "":
print " ProgramSolver::visit(" + mipsy.class_id(inst.opcode) + \
print " ProgramSolver::visit(" + nolimips.class_id(inst.opcode) + \
" &" + var_id + ")"
print " {\n" + content + " }"
else:
print " ProgramSolver::visit(" + mipsy.class_id(inst.opcode) + " &)"
print " ProgramSolver::visit(" + nolimips.class_id(inst.opcode) + " &)"
print " {"
print " }"
......@@ -231,5 +232,5 @@ print """
sys.stdout.close()
sys.stdout = sys.__stdout__
mipsy.lazy_overwrite("program_solver.cc", "program_solver.cc.tmp")
nolimips.lazy_overwrite("program_solver.cc", "program_solver.cc.tmp")
os.remove("program_solver.cc.tmp")
#!/usr/bin/env python
##
## This file is part of Mipsy, a tiny MIPS simulator
## This file is part of Nolimips, a MIPS simulator with unlimited registers
## Copyright (C) 2003, 2004 Benoit Perrot <benoit@lrde.epita.fr>
##
## Mipsy is free software; you can redistribute it and/or modify
## Nolimips is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## Mipsy is distributed in the hope that it will be useful,
## Nolimips is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
......@@ -25,15 +25,15 @@ from xml.sax import ContentHandler, make_parser
## ---------------------------------------------------------------------------
license = """//
// This file is part of Mipsy, a tiny MIPS simulator
// Copyright (C) 2003, 2004 Benoit Perrot <benoit@lrde.epita.fr>
// This file is part of Nolimips, a MIPS simulator with unlimited registers
// Copyright (C) 2004 Benoit Perrot <benoit@lrde.epita.fr>
//
// Mipsy is free software; you can redistribute it and/or modify
// Nolimips is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// Mipsy is distributed in the hope that it will be useful,
// Nolimips is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
......
<!-- This file is part of Mipsy, a tiny MIPS simulator -->
<!-- This file is part of Nolimips, a MIPS simulator with unlimited registers -->
<!-- Copyright (C) 2003, 2004 Benoit Perrot (benoit@lrde.epita.fr) -->
<!-- Mipsy is free software; you can redistribute it and/or modify -->
<!-- Nolimips is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!-- Mipsy is distributed in the hope that it will be useful, -->
<!-- Nolimips is distributed in the hope that it will be useful, -->
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
<!-- GNU General Public License for more details. -->
......
#!/usr/bin/env python
##
## This file is part of Mipsy, a tiny MIPS simulator
## This file is part of Nolimips, a MIPS simulator with unlimited registers
## Copyright (C) 2003, 2004 Benoit Perrot <benoit@lrde.epita.fr>
##
## Mipsy is free software; you can redistribute it and/or modify
## Nolimips is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## Mipsy is distributed in the hope that it will be useful,
## Nolimips is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
......@@ -21,12 +21,12 @@
import sys, os
import string, re
import mipsy
from mipsy import license, depth, define_id
import nolimips
from nolimips import license, depth, define_id
#### Mipsy's Bison assembly parser generator ---------------
#### Nolimips' Bison assembly parser generator -------------
parser = mipsy.InstructionSetParser()
parser = nolimips.InstructionSetParser()
instructions = parser.parse(sys.stdin)
sys.stdout = file("asm-parse.yy.tmp", "w")
......@@ -283,5 +283,5 @@ namespace yy
sys.stdout.close()
sys.stdout = sys.__stdout__
mipsy.lazy_overwrite("asm-parse.yy", "asm-parse.yy.tmp")
nolimips.lazy_overwrite("asm-parse.yy", "asm-parse.yy.tmp")
os.remove("asm-parse.yy.tmp")
#!/usr/bin/env python
##
## This file is part of Mipsy, a tiny MIPS simulator
## This file is part of Nolimips, a MIPS simulator with unlimited registers
## Copyright (C) 2003, 2004 Benoit Perrot <benoit@lrde.epita.fr>
##
## Mipsy is free software; you can redistribute it and/or modify
## Nolimips is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## Mipsy is distributed in the hope that it will be useful,