Skip to content

Commit 5a0183a

Browse files
committed
src: Renaming FStarC.Compiler.* -> FStarC.*
1 parent 8d3b529 commit 5a0183a

346 files changed

Lines changed: 1221 additions & 1227 deletions

File tree

Some content is hidden

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

mk/fstar-12.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FSTAR_OPTIONS += --lax
22
# HACK ALERT! --MLish passed by generic.mk to FStarC modules
33
# only. Passing it here would mean the library is checked with
44
# --MLish, which fails.
5-
FSTAR_OPTIONS += --MLish_effect 'FStarC.Compiler.Effect'
5+
FSTAR_OPTIONS += --MLish_effect 'FStarC.Effect'
66
FSTAR_OPTIONS += --no_default_includes
77
FSTAR_OPTIONS += --include "$(FSTAR_ROOT)/ulib"
88

src/FStarCompiler.fst.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"fstar_exe": "../stage0/bin/fstar.exe",
33
"options": [
44
"--MLish",
5-
"--MLish_effect", "FStarC.Compiler.Effect",
5+
"--MLish_effect", "FStarC.Effect",
66
"--lax",
77
"--cache_dir", "../stage1/fstarc.checked",
88
"--warn_error",

src/README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Some files are written directly in OCaml:
66

77
* The lexer: uses the OCaml Sedlexing library
88

9-
* Some basic system utilities, like FStarC.Compiler.Util only has an
10-
interface in F* and is implemented as FStarC_Compiler_Util.ml
9+
* Some basic system utilities, like FStarC.Util only has an
10+
interface in F* and is implemented as FStarC_Util.ml
1111

1212
--------------------------------------------------------------------------------
1313

src/basic/FStarC.Basefiles.fst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module FStarC.Basefiles
22

33
open FStarC
4-
open FStarC.Compiler.Effect
4+
open FStarC.Effect
55

66
module O = FStarC.Options
7-
module BU = FStarC.Compiler.Util
7+
module BU = FStarC.Util
88
module E = FStarC.Errors
99

1010
let must_find (fn:string) : string =

src/basic/FStarC.Basefiles.fsti

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module FStarC.Basefiles
22

3-
open FStarC.Compiler.Effect
3+
open FStarC.Effect
44

55
val prims : unit -> string
66
val prims_basename : unit -> string

src/basic/FStarC.BigInt.fsti

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
limitations under the License.
1515
*)
1616
module FStarC.BigInt
17-
open FStarC.Compiler.Effect
17+
open FStarC.Effect
1818

1919
type bigint
2020
type t = bigint
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*)
16-
module FStarC.Compiler.Bytes
17-
open FStarC.Compiler.Effect
16+
module FStarC.Bytes
17+
open FStarC.Effect
1818
open FStarC.BaseTypes
1919

2020
type bytes = array byte

src/basic/FStarC.Common.fst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
*)
1818

1919
module FStarC.Common
20-
open FStarC.Compiler.Effect
21-
module List = FStarC.Compiler.List
22-
module BU = FStarC.Compiler.Util
20+
open FStarC.Effect
21+
module List = FStarC.List
22+
module BU = FStarC.Util
2323

2424
let snapshot (push: 'a -> 'b) (stackref: ref (list 'c)) (arg: 'a) : (int & 'b) = BU.atomically (fun () ->
2525
let len : int = List.length !stackref in

src/basic/FStarC.Common.fsti

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
*)
1818

1919
module FStarC.Common
20-
open FStarC.Compiler.Effect
21-
module List = FStarC.Compiler.List
22-
module BU = FStarC.Compiler.Util
20+
open FStarC.Effect
21+
module List = FStarC.List
22+
module BU = FStarC.Util
2323

2424
val snapshot (push: 'a -> 'b) (stackref: ref (list 'c)) (arg: 'a) : (int & 'b)
2525

src/basic/FStarC.Const.fst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
limitations under the License.
1515
*)
1616
module FStarC.Const
17-
open FStarC.Compiler.Effect
17+
open FStarC.Effect
1818

1919
open FStarC.BigInt
2020
open FStar.Char
2121

2222
let eq_const c1 c2 =
2323
match c1, c2 with
2424
| Const_int (s1, o1), Const_int(s2, o2) ->
25-
FStarC.Compiler.Util.ensure_decimal s1 = FStarC.Compiler.Util.ensure_decimal s2 &&
25+
FStarC.Util.ensure_decimal s1 = FStarC.Util.ensure_decimal s2 &&
2626
o1=o2
2727
| Const_string(a, _), Const_string(b, _) -> a=b
2828
| Const_reflect l1, Const_reflect l2 -> Ident.lid_equals l1 l2
@@ -55,5 +55,5 @@ let bounds signedness width =
5555

5656
let within_bounds repr signedness width =
5757
let lower, upper = bounds signedness width in
58-
let value = big_int_of_string (FStarC.Compiler.Util.ensure_decimal repr) in
58+
let value = big_int_of_string (FStarC.Util.ensure_decimal repr) in
5959
le_big_int lower value && le_big_int value upper

0 commit comments

Comments
 (0)