Граф коммитов

92 Коммитов

Автор SHA1 Сообщение Дата
Matthew Parkinson effc08b3f0
Reboot the Verona Repo (#634)
This commit removes almost everything from the repo.  This is in
preparation for bringing in the new Trieste based frontend.

The commit is very aggressive in removing things, but old stuff
can be reinstated from the `old_version` branch.

The aim is to ensure everything in the repo is consistent, so we
will need to PR in any documentation and code.
2023-07-13 13:36:26 +01:00
Matthew Parkinson e434183362
Linking to new repo for runtime. (#627) 2022-10-24 16:17:12 +01:00
Matthew Parkinson c067ace3a8
Fix bug in weak reference counting (#624)
* Fix region_rc to use correct method

* Fix bug in weak reference count

The existing implementation has a bug in promoting a weak reference
count to strong.  This address this bug, and
documents the fix, and provides a proof of the properties using
starling.
2022-10-13 14:11:03 +01:00
cui fliter 5bf2f75b7b
all: fix some typos (#616)
Signed-off-by: cui fliter <imcusg@gmail.com>
2022-09-20 09:14:28 +01:00
Renato Golin dbd6da4c11 Organise people in docs 2022-04-27 18:08:48 +01:00
Renato Golin 51f286437e Update my page/photo on docs 2022-04-27 15:07:23 +01:00
Kartik Agaram 52ab30f8fc replace a few relative links with absolute ones
Links should now work from both https://microsoft.github.io/verona/explore.html and https://github.com/microsoft/verona/blob/master/docs/explore.md
2021-10-09 13:47:58 +01:00
Renato Golin 3ec681a6da Update building doc with deprecated path 2021-09-28 14:43:37 +01:00
Jake Hughes 1865bc651a
Fix broken links to tests in documentation (#494) 2021-09-09 11:48:05 +01:00
Renato Golin a210ea4ab8
Adding ABI document (#467)
* Adding ABI document

* Fix IEEE number

* Some small corrections

* More small corrections

* Final correction

* layout copy-pasta

* Address review comments

* Add memory model (region) layout considerations

* Apply suggestions from code review

Co-authored-by: David Chisnall <davidchisnall@users.noreply.github.com>

* more reviews

* Update docs/internal/abi.md

Co-authored-by: David Chisnall <davidchisnall@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Nathaniel Wesley Filardo <VP331RHQ115POU58JFRLKB7OPA0L18E3@cmx.ietfng.org>

* Comments from code review

* Reworded region, graphs and forests section.
* Recreated class layout example with correct embed logic.
* Clarified colouring compacting
* Changed NaN-boxing pattern to include NaNs
* Reworded calling convention for concrete types

* Add reference in README

* Update docs/internal/abi.md

Co-authored-by: Nathaniel Wesley Filardo <VP331RHQ115POU58JFRLKB7OPA0L18E3@cmx.ietfng.org>

Co-authored-by: David Chisnall <davidchisnall@users.noreply.github.com>
Co-authored-by: Nathaniel Wesley Filardo <VP331RHQ115POU58JFRLKB7OPA0L18E3@cmx.ietfng.org>
2021-08-26 15:13:33 +01:00
David Chisnall 6cb27c1462
Add more detail to the foreign code doc. (#474) 2021-08-24 16:18:01 +01:00
Renato Golin 2250aebd48
Adding dialect document (#469)
* Adding dialect document

* typos

* mention DNF

* new
2021-08-11 11:45:38 +01:00
Renato Golin 84e8c88ade
Reorganise documents (#470)
Some previous documents are being removed because the new ones are more
thorough in describing the language concepts.

Other documents are being moved into the internal directory so that we
can keep all in-design documents into one place.

Idealy, those will eventually promote new directories (tutorial,
standard), containing more formal and complete descriptions.
2021-08-10 14:42:00 +01:00
Renato Golin 86de473555
Adding compiler steps document (#465)
* Adding compiler steps document

* Update docs/internal/compiler-steps.md

Co-authored-by: David Chisnall <davidchisnall@users.noreply.github.com>

* review comments

* additional points

* marking optional tasks, added future work section

* mention LTO, spell check

* small corrections

* some rewriting to clarify points

Co-authored-by: David Chisnall <davidchisnall@users.noreply.github.com>
2021-08-10 13:08:51 +01:00
Renato Golin c0d37e7252 Adding module section, Self types
Also fixing typo

Co-authored-by: David Chisnall <davidchisnall@users.noreply.github.com>
Co-authored-by: Nathaniel Wesley Filardo <VP331RHQ115POU58JFRLKB7OPA0L18E3@cmx.ietfng.org>
Co-authored-by: Sylvan Clebsch <sylvan.clebsch@gmail.com>
2021-08-06 18:22:06 +01:00
Renato Golin fab7e1dd18 Adding generics document
Co-authored-by: David Chisnall <davidchisnall@users.noreply.github.com>
Co-authored-by: Nathaniel Wesley Filardo <VP331RHQ115POU58JFRLKB7OPA0L18E3@cmx.ietfng.org>
Co-authored-by: Sylvan Clebsch <sylvan.clebsch@gmail.com>
2021-07-30 17:37:02 +01:00
Renato Golin a1d4118ea5 Adding capabilities document
Co-authored-by: David Chisnall <davidchisnall@users.noreply.github.com>
Co-authored-by: Nathaniel Wesley Filardo <VP331RHQ115POU58JFRLKB7OPA0L18E3@cmx.ietfng.org>
2021-07-21 11:25:36 +01:00
Renato Golin 1911cc3c35 Adding expressions documentation
Co-authored-by: David Chisnall <davidchisnall@users.noreply.github.com>
2021-07-14 11:18:42 +01:00
Renato Golin 03de4365cf Adding types documentation
This is work in progress towards a tutorial like Pony
(https://tutorial.ponylang.io/). But first, we need to make sure the
documentation is accurate with the syntax and semantics of the language.

The overall idea is to write each of the "chapters" as a separate
document and then when we're happy with their contents, we can collate
them into a tutorial via some existing document handling software (like
Pony did).

Note that this is now meant to be correct, so all examples must conform
to the expected syntax and semantics and we should have no more
hand-waving code. If any of the examples are syntactically or
semantically wrong, we need to fix them now.

Also note that I'm not the best person to write this document, as there
are a lot of the syntax and semantics that I don't know or am confused
about, so please double check that what I wrote is correct. It very
likely won't be.

Co-authored-by: David Chisnall <davidchisnall@users.noreply.github.com>
Co-authored-by: Sean T Allen <sean@seantallen.com>
Co-authored-by: Nathaniel Wesley Filardo <VP331RHQ115POU58JFRLKB7OPA0L18E3@cmx.ietfng.org>
2021-07-06 10:06:32 +01:00
Renato Golin a14550aae0 Remove 1IR document, we're not using it anymore 2021-07-06 10:06:32 +01:00
David Chisnall 74c10e1ac1 Add disclaimer. 2021-06-22 16:07:38 +01:00
David Chisnall 5ddf9ac5c1 Small tweaks. 2021-06-22 16:07:38 +01:00
David Chisnall 21ff47f507 More updates based on feedback. 2021-06-22 16:07:38 +01:00
David Chisnall 82a9ec0816 Make the code less func-y.
The `func` keyword is from some of Paul's pseudocode and is not needed.
2021-06-22 16:07:38 +01:00
David Chisnall eb9ca09ce1 Rename CharType to CodeUnitType.
After writing a document explaining that 'character' is an overloaded
name and no one agrees on what it means, it's somewhat embarrassing to
then use it in a proposed API.
2021-06-22 16:07:38 +01:00
David Chisnall 0373996749 Remove copy-and-paste error. 2021-06-22 16:07:38 +01:00
David Chisnall 8ea0e93cd4 s/Unichar/Rune.
At @sylvanc's suggestion, Unichar was renamed Rune, but the uses were
not updated in the doc.
2021-06-22 16:07:38 +01:00
David Chisnall f3ce2af281 Apply suggestions from code review
Co-authored-by: Sylvan Clebsch <syclebsc@microsoft.com>
2021-06-22 16:07:38 +01:00
David Chisnall b9eaea0f95 Apply suggestions from review
Co-authored-by: Nathaniel Wesley Filardo <VP331RHQ115POU58JFRLKB7OPA0L18E3@cmx.ietfng.org>
2021-06-22 16:07:38 +01:00
David Chisnall a98b7fc284 Add initial stab at a strings design doc. 2021-06-22 16:07:38 +01:00
Renato Golin 985808f6db Avoid constructor terminology 2021-06-22 14:33:26 +01:00
Renato Golin 8423ac2729 Review updates 2021-06-22 14:33:26 +01:00
Renato Golin 51e3757253 Fix capability sub-type line 2021-06-22 14:33:26 +01:00
Renato Golin bdf083741d Change mut to imm in arithmetic doc example 2021-06-22 14:33:26 +01:00
Renato Golin 47f06d5435 Add some internal documents 2021-06-22 14:33:26 +01:00
Renato Golin 65fb0ba2ee
Interoperability Layer Document (#401)
* Add interoperability document, describing the sandbox functionality

This is a very early preview of what we'll do with sandboxing, so some
of it may be too vague, some of it probably wrong, but this is a preview
of what the functionality will look like in the compiler.

* Respond to reviews

* Moved to one line per phrase, no line breaks, to make reviews easier.
* Fixed numbered/bullet lists.
* Added many of David's comments verbatim.
* Tried to reword confusing and misleading statements without getting
  bogged into implementation details.

* review comments

* Complete rewrite after discussions

* Small corrections

* Rewrite document based on last meeting

* add explicit type c-tor for literals to make the type clear
2021-03-26 15:35:03 +00:00
Sylvan Clebsch a029b2c796 change throwtype syntax to bind less tightly than | 2021-03-24 13:49:30 +00:00
Sylvan Clebsch d307bfa577 improve docs 2021-03-24 13:49:30 +00:00
Sylvan Clebsch db88702b99 rewrote UCS doc 2021-03-24 13:49:30 +00:00
Sylvan Clebsch 7f1bf451aa infix as select 2021-03-24 13:49:30 +00:00
Sylvan Clebsch 1bf5d87e3f initial write-up on type lists 2021-03-24 13:49:30 +00:00
Sylvan Clebsch 75a2ff47b0 add a UCS document 2021-03-24 13:49:30 +00:00
Sylvan Clebsch e61e3682f5 programmable control flow 2021-03-24 13:49:30 +00:00
Sylvan Clebsch 3a68f98621 move into the type language 2021-03-24 13:49:30 +00:00
Marios Kogias f95cbd6b46
Fix broken links (#406)
Some of the links to the Verona code samples in the explore.md were broken.
2021-03-17 13:49:03 +00:00
Renato Golin 73f340b184 Removing trailing spaces 2021-02-08 16:10:25 +00:00
Renato Golin a859eae7e9 TODO terminators in 1IR doc 2021-02-08 16:10:25 +00:00
Paul Liétar aea9e1b325 Split IR doc up and move to different folder. 2021-02-08 16:10:25 +00:00
David Chisnall 09c8f67147
[Website] Add people to the web site (#373)
Present authors in blog posts and clean up some of the styling slightly.

Blog posts can specify an array as `authors:` instead of a single author
as `author:`.  These will be sorted by the sort key in the people  yaml file 
and put in the by line.
2021-01-13 09:14:38 +00:00
Matthew Parkinson dc9bc4827f
Improvements to CI and build. (#372)
Make testing part of top-level build to simplify
use of some scripts such as update-dump.  Also, gives
nicer experience for running individual tests.
2020-12-09 15:00:20 +00:00