Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Mark Cohen
/
thesis
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Merge Requests
0
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5b450834
authored
Jun 03, 2019
by
Mark Cohen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compiler: introduce SurfaceProgram structure
parent
e027dcfd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
compiler/sources.cm
compiler/surfaceprogram.sml
compiler/sources.cm
View file @
5b450834
...
...
@@ -15,6 +15,7 @@ Group
structure TyScheme
structure Class
structure Instance
structure SurfaceProgram
structure Scan
...
...
@@ -50,6 +51,7 @@ is
class.sml
instance.sml
tyscheme.sml
surfaceprogram.sml
scan.sml
...
...
compiler/surfaceprogram.sml
0 → 100644
View file @
5b450834
structure
SurfaceProgram
:
sig
type
program
=
{
classes
:
Class
.
class
list
,
instances
:
Instance
.
instance
list
,
body
:
AST
.
term
}
end
=
struct
type
program
=
{
classes
:
Class
.
class
list
,
instances
:
Instance
.
instance
list
,
body
:
AST
.
term
}
(*
fun verifyInstances *)
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment