Skip to content

Commit f180d57

Browse files
committed
API-based approach, cache Environment in memory
1 parent 60fb30b commit f180d57

File tree

182 files changed

+448
-1826
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+448
-1826
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2013 Phil Freeman
3+
Copyright (c) 2013-16 PureScript
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

Main.hs

Lines changed: 0 additions & 230 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
trypurescript
2-
=============
1+
# PureScript API
32

4-
Very basic browser-based interface to the PureScript compiler.
3+
Very basic web service which wraps the PureScript compiler.
54

65
## API
76

87
### Compile PureScript code
98

10-
**POST /compile/text**
9+
**POST /compile**
1110

1211
- Request body: PureScript code
1312
- Response body: Either `{ js: "..." }` or `{ error: "..." }`

assets/gaq.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

assets/scripts.js

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)