-
Notifications
You must be signed in to change notification settings - Fork 123
Produce .cmjx instead of .cmx for JSIR compilation #4598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
308 commits
Select commit
Hold shift + click to select a range
ed2cf5f
merge
smjleo 7452b18
format
smjleo e3aad1f
merge
smjleo 52c24e7
leave CR about metadata
smjleo d9c0db1
simplify imports
smjleo 9d22835
remove qualifications
smjleo f748ea2
Merge branch 'selee.jsir-translation-stub' of github.com:oxcaml/oxcam…
smjleo fa93718
WIP closures
smjleo a8b7a3f
basic support for closures
smjleo 76cba5c
process static lets twice
smjleo 3cbaba0
janky apply
smjleo 68feae3
fix fold order
smjleo d57ac09
Merge branch 'selee.jsir-translation-stub' of github.com:oxcaml/oxcam…
smjleo 7e2a662
sweep up symbols before translating to support recursive closures
smjleo 6ce67a6
Merge branch 'selee.jsir-dump-file' of github.com:oxcaml/oxcaml into …
smjleo 37ef65e
remove CR
smjleo 8961268
define continuations properly
smjleo eccc130
implement proper CPS for apply
smjleo 02fbe92
pass highest var in .cmj file
smjleo 55f6ea3
Merge branch 'selee.jsir-dump-file' of github.com:oxcaml/oxcaml into …
smjleo ae92409
Merge branch 'selee.jsir-closures' of github.com:oxcaml/oxcaml into s…
smjleo 951d324
recursive continuations
smjleo 6cf109a
refactor
smjleo f3d6d36
Merge branch 'selee.jsir-closures' of github.com:oxcaml/oxcaml into s…
smjleo d9ae707
Merge branch 'selee.jsir-apply' of github.com:oxcaml/oxcaml into sele…
smjleo 40ac92a
typo
smjleo e574856
handle invariant params
smjleo 8f70ea5
avoid using closures
smjleo 1b69bbe
merge
smjleo 6016653
fix build errors
smjleo a6c3b90
fix recursive continuations
smjleo 8c6a601
cleanup
smjleo 566a2d9
cleanup
smjleo 8b40026
cleanup
smjleo a6a4880
merge
smjleo 126f194
edit comment
smjleo 39a5eae
Merge branch 'selee.jsir-apply' of github.com:oxcaml/oxcaml into sele…
smjleo f5d564b
implement switches
smjleo 0403fa7
WIP primitives
smjleo c0192f9
get rid of negative arm cases
smjleo 83e74c6
Merge branch 'selee.jsir-switch' of github.com:oxcaml/oxcaml into sel…
smjleo 3113396
generate conds for special case
smjleo 9d37182
Merge branch 'selee.jsir-switch' of github.com:oxcaml/oxcaml into sel…
smjleo 73de70a
archived_blocks -> complete_blocks
smjleo aa8641d
Merge branch 'selee.jsir-translation-stub' of github.com:oxcaml/oxcam…
smjleo 8822133
merge
smjleo 9a94627
Merge branch 'selee.jsir-closures' of github.com:oxcaml/oxcaml into s…
smjleo 278088e
merge
smjleo cf2c91f
merge
smjleo a7328a6
Merge branch 'selee.jsir-switch' of github.com:oxcaml/oxcaml into sel…
smjleo e953bd4
output a marshaled record instead
smjleo aff5e4c
call runtime function for invalid switch arms
smjleo 744c01e
WIP primitives
smjleo 1411d7b
0 is false not true
smjleo 8a474fe
Merge branch 'selee.jsir-switch' of github.com:oxcaml/oxcaml into sel…
smjleo 0060b7b
WIP
smjleo 55eeed0
merge
smjleo ebca814
merge
smjleo c029688
WIP
smjleo fb8ddf3
address comments
smjleo 0351a8b
Merge branch 'selee.jsir-from-flambda2' of github.com:oxcaml/oxcaml i…
smjleo 72ea7d8
address review
smjleo fbd0387
fix
smjleo b47ec1f
change variable names
smjleo 5fdf855
merge
smjleo be63444
no printing
smjleo 35aa023
WIP
smjleo f0b6215
Merge branch 'selee.jsir-recursive-continuations' of github.com:oxcam…
smjleo 3b1b7d7
Merge branch 'selee.jsir-apply' of github.com:oxcaml/oxcaml into sele…
smjleo fe4a043
Merge branch 'selee.jsir-recursive-continuations' of github.com:oxcam…
smjleo f2ab1c8
Merge branch 'selee.jsir-switch' of github.com:oxcaml/oxcaml into sel…
smjleo 4133d2f
Merge branch 'selee.jsir-more-primitives' of github.com:oxcaml/oxcaml…
smjleo 8ce334c
exceptions
smjleo 0a3bd50
WIP untested
smjleo 81962f7
works?
smjleo 72e0fab
changes
smjleo 3becd17
add CR
smjleo 38b2e4f
change evaluation order
smjleo d7888e8
add parameter
smjleo 554a885
merge
smjleo ab0efe4
edit comment
smjleo 8fd23f7
WIP
smjleo 01c5006
fix comment
smjleo 43b4111
Merge branch 'selee.jsir-let-cont-eval-order' of github.com:oxcaml/ox…
smjleo ac40483
edit comment
smjleo 600cea2
Merge branch 'selee.jsir-exceptions-extra-args' of github.com:oxcaml/…
smjleo f4f8a9c
Merge branch 'selee.jsir-exceptions-extra-args' of github.com:oxcaml/…
smjleo ae71cc8
add jsir flag in clflags
smjleo c72d8c1
add oclassic
smjleo d69967c
shuffle order
smjleo 7b1b1b0
Merge branch 'selee.jsir-let-cont-eval-order' of github.com:oxcaml/ox…
smjleo dffb8b3
WIP
smjleo 3d1aeed
use helper errors
smjleo 041b76d
WIP
smjleo 2f36f77
cleanup
smjleo 3433137
WIP
smjleo c6e21c9
WIP
smjleo cc8f899
remove CR
smjleo 697ea1b
some no-ops should be identities
smjleo 1f30469
num_conv
smjleo ae8faec
fix
smjleo ab1fe8e
reorganise
smjleo 2772c21
add missing primitives
smjleo 905d1f0
add more static consts
smjleo c809526
handle block access kinds properly
smjleo 1362254
Merge branch 'selee.jsir-even-more-primitives' of github.com:oxcaml/o…
smjleo 037e2e8
add external module symbols
smjleo dff68b9
disallow variables in static consts
smjleo 535b82f
error on variables in static const
smjleo 363f648
Merge branch 'selee.jsir-static-consts' of github.com:oxcaml/oxcaml i…
smjleo e64ed2a
a hack
smjleo 17d7c8e
address reviews
smjleo 3450e2a
load symbols only as needed
smjleo e87ad65
WIP
smjleo 7a5a6e3
merge
smjleo 6fcf761
Merge branch 'selee.jsir-recursive-continuations' of github.com:oxcam…
smjleo 87cf1a2
Merge branch 'selee.jsir-switch' of github.com:oxcaml/oxcaml into sel…
smjleo ac4b8b2
Merge branch 'selee.jsir-more-primitives' of github.com:oxcaml/oxcaml…
smjleo 5dc36cc
Merge branch 'selee.jsir-exceptions' of github.com:oxcaml/oxcaml into…
smjleo a69a361
Merge branch 'selee.jsir-exceptions-extra-args' of github.com:oxcaml/…
smjleo ab50629
Merge branch 'selee.jsir-let-cont-eval-order' of github.com:oxcaml/ox…
smjleo e6ffc99
merge
smjleo 2b1060d
revert prim changes
smjleo 160a8ee
Merge branch 'selee.jsir-even-more-primitives' of github.com:oxcaml/o…
smjleo fd2be1d
merge
smjleo fb8a78e
handle my closures
smjleo 8bfe5d2
get rid of debug outputs
smjleo 9034aaf
fix
smjleo da8f4cf
clean up diff
smjleo e1581ed
add empty arrays
smjleo 75a53d5
adjust branch
smjleo 1b75631
fix
smjleo 795e11b
merge
smjleo 9f88488
add immutable value array
smjleo 7ac6475
disable inlining
smjleo 2a9d782
shift right fix
smjleo 320584e
Merge branch 'selee.jsir-even-more-primitives' of github.com:oxcaml/o…
smjleo 0a5fea8
undo flambda changes
smjleo fbb26cd
support non-constant static consts
smjleo f1dadb8
refactoring
smjleo bfd3afd
ocamlformat
smjleo c9c035e
disable inlining
smjleo 9aeae03
add empty arrays
smjleo 65ac14b
adjust branch
smjleo 51e5289
fix
smjleo 1ba8997
add immutable value array
smjleo 5c8e473
fix bugs
smjleo 9d2ada9
merge
smjleo eec9798
get rid of my_closure related things
smjleo 976cb98
edit comment
smjleo c68dec4
typo
smjleo a68cf18
handle my closures by preemptively creating fresh closure variables
smjleo 9c05427
merge
smjleo 3227c32
we should register slots too
smjleo 1486202
merge
smjleo d7b9453
Merge branch 'selee.jsir-my-closure' of github.com:oxcaml/oxcaml into…
smjleo 5016840
symbols too
smjleo 48b7e01
merge
smjleo 4aaa0cc
Merge branch 'selee.jsir-code-id-scope' of github.com:oxcaml/oxcaml i…
smjleo 749781e
merge
smjleo 320ef33
fix
smjleo 69dd09c
Merge branch 'selee.jsir-disable-inlining' of github.com:oxcaml/oxcam…
smjleo 1f50bea
address reviews
smjleo 90367df
address reviews
smjleo 3588e19
that shouldn't be there
smjleo 19ec7e8
oops
smjleo d61082b
revert back method disabling
smjleo 375b99a
no need to check whether symbol exists
smjleo da0bb19
merge
smjleo 7b36880
Merge branch 'selee.jsir-let-cont-eval-order' of github.com:oxcaml/ox…
smjleo 1c5cf5e
Merge branch 'selee.jsir-o3' of github.com:oxcaml/oxcaml into selee.j…
smjleo 9893907
Merge branch 'selee.jsir-even-more-primitives' of github.com:oxcaml/o…
smjleo e6ea592
Merge branch 'selee.jsir-static-consts' of github.com:oxcaml/oxcaml i…
smjleo 78fd473
Merge branch 'selee.jsir-code-id-scope' of github.com:oxcaml/oxcaml i…
smjleo 2a78cb6
merge
smjleo 1c2c07d
Merge branch 'selee.jsir-from-flambda2' of github.com:oxcaml/oxcaml i…
smjleo 3d6a565
Merge branch 'selee.jsir-even-more-primitives' of github.com:oxcaml/o…
smjleo 171a7c0
Merge branch 'selee.jsir-static-consts' of github.com:oxcaml/oxcaml i…
smjleo f47a707
Merge branch 'selee.jsir-code-id-scope' of github.com:oxcaml/oxcaml i…
smjleo c31e65f
Merge branch 'selee.jsir-my-closure' of github.com:oxcaml/oxcaml into…
smjleo e8ea8a7
WIP
smjleo 37b969b
WIP
smjleo da3b1a0
Merge branch 'selee.jsir-targetint-actually-32' of github.com:oxcaml/…
smjleo 8acb80d
format
smjleo 4e155f6
Merge branch 'selee.jsir-targetint-actually-32' of github.com:oxcaml/…
smjleo 4586a7a
remove CR
smjleo 59458aa
Merge branch 'selee.jsir-my-closure' of github.com:oxcaml/oxcaml into…
smjleo ff7a0df
Merge branch 'selee.jsir-targetint-actually-32' of github.com:oxcaml/…
smjleo 6b430f2
properly add invalid primitive
smjleo d57ca7d
targetint -> targetint_32_64
smjleo 18ef4b2
Merge branch 'selee.jsir-targetint-actually-32' of github.com:oxcaml/…
smjleo 458dc5c
merge
smjleo 3346fde
optional arguments fix
smjleo a2b2561
clean up diff
smjleo 39d6425
better errors
smjleo bacc097
better comments
smjleo 95fabcd
improve comment for primitive check
smjleo 68dcaa7
WIP
smjleo 58e90ba
WIP
smjleo 0fbb221
licensing rearrangements
smjleo 7b0f038
add git readme
smjleo 486fb30
don't rename
smjleo e4c1c79
Merge branch 'selee.jsir-licensing' of github.com:oxcaml/oxcaml into …
smjleo 52e569a
debuginfo wip
smjleo 71bbb7b
format
smjleo 0f5138a
bugfix
smjleo e6c6064
extra_args for apply_cont
smjleo 8916616
format
smjleo 2ae3780
WIP
smjleo aec5463
move things around
smjleo bd7dd7c
Merge branch 'selee.jsir-targetint-32' of github.com:oxcaml/oxcaml in…
smjleo f770796
fix method calls
smjleo 67db48b
remove CR
smjleo 7e98c30
refactor
smjleo 3af5d3e
merge
smjleo 9c4902c
more primitive fixes
smjleo 5aa3991
use bytecode external functions rather than native
smjleo 4e594aa
Merge branch 'selee.jsir-use-bytecode-c-functions' of github.com:oxca…
smjleo 2d9e2d0
change
smjleo 956f175
oops
smjleo 7c4c5d1
unused arg
smjleo f5aa571
Merge branch 'selee.jsir-use-bytecode-c-functions' of github.com:oxca…
smjleo bd3c4c6
use runtime functions for sys consts
smjleo 48685be
merge
smjleo 8324354
address reviews
smjleo 4d4f900
wrong module name
smjleo 86a55d5
Merge branch 'selee.jsir-sys-consts' of github.com:oxcaml/oxcaml into…
smjleo 8c5200d
primitive fixes
smjleo 86a947e
spurious change?
smjleo 2512269
Merge branch 'selee.jsir-fix-primitives' of github.com:oxcaml/oxcaml …
smjleo cf1fee4
check lambda flags
smjleo 29a3aca
more lambda flag
smjleo 5bfab6b
Merge branch 'selee.jsir-native-code-flag' of github.com:oxcaml/oxcam…
smjleo d0d459a
format
smjleo 5b48f01
Merge branch 'selee.jsir-native-code-flag' of github.com:oxcaml/oxcam…
smjleo 9d55cbb
format
smjleo 3d5de52
Merge branch 'selee.jsir-native-code-flag' of github.com:oxcaml/oxcam…
smjleo 1586964
address CRs
smjleo 043af56
use cmjx instead of cmx
smjleo 9d9c701
spurious formatting diffs
smjleo 9b1e37b
change version
smjleo 31147dd
formatting
smjleo c34718f
use existing warning instead
smjleo 0270343
just use original variant
smjleo 3f891fa
fix dependency ordering for dynlink
smjleo 2e8f408
Revert "fix dependency ordering for dynlink"
smjleo 5f35e99
Revert "just use original variant"
smjleo 9b552de
label warning arguments
smjleo 6944bb5
formatting
smjleo a7674a8
Merge branch 'selee.jsir-from-flambda2' into selee.jsir-produce-cmjx
smjleo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.