Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. i feel that the grammar of a programming language is among the least appropriate of all possible facets of its behavior to start off with.

i feel that the grammar of a programming language is among the least appropriate of all possible facets of its behavior to start off with.

Scheduled Pinned Locked Moved Uncategorized
118 Posts 14 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

    Hitherto, the semantic rules have not exposed the interactive nature of the language.

    i feel this assumes a great deal. this seems more of the semantic rules of a particular CLI program provided with the default distribution?

    During an ML session the user can type in a phrase, more precisely a phrase of the form topdec as defined in Figure 8, page 15.

    • "during an ML session" omg
    • "the user can type": that is not meaningful without describing a whole lot more interactions with the OS
    hipsterelectron@circumstances.runH This user is from outside of this forum
    hipsterelectron@circumstances.runH This user is from outside of this forum
    hipsterelectron@circumstances.run
    wrote last edited by
    #5

    In practice, ML implementations may provide a directive as a form of top-level declaration for including programs from files rather than directly from the terminal.

    FILES??? TERMINAL????

    hipsterelectron@circumstances.runH 1 Reply Last reply
    0
    • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

      In practice, ML implementations may provide a directive as a form of top-level declaration for including programs from files rather than directly from the terminal.

      FILES??? TERMINAL????

      hipsterelectron@circumstances.runH This user is from outside of this forum
      hipsterelectron@circumstances.runH This user is from outside of this forum
      hipsterelectron@circumstances.run
      wrote last edited by
      #6

      So far, for simplicity, we have used the same notation B to stand for both a static and a dynamic basis, and this has been possible because we have never needed to discuss static and dynamic semantics at the same time.

      i understood compilation to be the translation from an IR (static semantics) into the ABI (dynamic semantics)

      hipsterelectron@circumstances.runH 1 Reply Last reply
      0
      • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

        So far, for simplicity, we have used the same notation B to stand for both a static and a dynamic basis, and this has been possible because we have never needed to discuss static and dynamic semantics at the same time.

        i understood compilation to be the translation from an IR (static semantics) into the ABI (dynamic semantics)

        hipsterelectron@circumstances.runH This user is from outside of this forum
        hipsterelectron@circumstances.runH This user is from outside of this forum
        hipsterelectron@circumstances.run
        wrote last edited by
        #7

        C Appendix: The Initial Static Basis
        In this appendix (and the next) we define a minimal initial basis for execution. Richer bases may be provided by libraries.

        for "execution" means something different to the authors than it does to me

        hipsterelectron@circumstances.runH 1 Reply Last reply
        0
        • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

          C Appendix: The Initial Static Basis
          In this appendix (and the next) we define a minimal initial basis for execution. Richer bases may be provided by libraries.

          for "execution" means something different to the authors than it does to me

          hipsterelectron@circumstances.runH This user is from outside of this forum
          hipsterelectron@circumstances.runH This user is from outside of this forum
          hipsterelectron@circumstances.run
          wrote last edited by
          #8

          omg

          At the same time, imperative features were important for practical reasons; no-one had experience of large useful programs written
          in a pure functional style. In particular, an exception-raising mechanism was highly desirable for the natural presentation of tactics.

          these are still a matter of grammar to me. "imperative features" is an interface to the programmer imho

          hipsterelectron@circumstances.runH 1 Reply Last reply
          0
          • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

            omg

            At the same time, imperative features were important for practical reasons; no-one had experience of large useful programs written
            in a pure functional style. In particular, an exception-raising mechanism was highly desirable for the natural presentation of tactics.

            these are still a matter of grammar to me. "imperative features" is an interface to the programmer imho

            hipsterelectron@circumstances.runH This user is from outside of this forum
            hipsterelectron@circumstances.runH This user is from outside of this forum
            hipsterelectron@circumstances.run
            wrote last edited by
            #9

            The full definition of this first version of ML was included in a book [19] which describes LCF, the proof system which ML was designed to support.

            literally omfg why didn't you send me there FIRST?????

            hipsterelectron@circumstances.runH 1 Reply Last reply
            0
            • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

              The full definition of this first version of ML was included in a book [19] which describes LCF, the proof system which ML was designed to support.

              literally omfg why didn't you send me there FIRST?????

              hipsterelectron@circumstances.runH This user is from outside of this forum
              hipsterelectron@circumstances.runH This user is from outside of this forum
              hipsterelectron@circumstances.run
              wrote last edited by
              #10

              Other early influences were the applicative languages already in use in Artificial Intelligence.

              i am not the expected audience

              hipsterelectron@circumstances.runH 1 Reply Last reply
              0
              • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

                Other early influences were the applicative languages already in use in Artificial Intelligence.

                i am not the expected audience

                hipsterelectron@circumstances.runH This user is from outside of this forum
                hipsterelectron@circumstances.runH This user is from outside of this forum
                hipsterelectron@circumstances.run
                wrote last edited by
                #11

                i keep reading to find when i'm gonna find some discussion of semantics. hasn't happened yet

                somebody@tech.lgbtS hipsterelectron@circumstances.runH 2 Replies Last reply
                0
                • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

                  i keep reading to find when i'm gonna find some discussion of semantics. hasn't happened yet

                  somebody@tech.lgbtS This user is from outside of this forum
                  somebody@tech.lgbtS This user is from outside of this forum
                  somebody@tech.lgbt
                  wrote last edited by
                  #12

                  @hipsterelectron they hated it when Margaret Hamilton wrote AXES001 entirely about semantics thereby actually inventing software engineering without getting credit. those kinds of men are allergic to reflection

                  hipsterelectron@circumstances.runH 1 Reply Last reply
                  0
                  • somebody@tech.lgbtS somebody@tech.lgbt

                    @hipsterelectron they hated it when Margaret Hamilton wrote AXES001 entirely about semantics thereby actually inventing software engineering without getting credit. those kinds of men are allergic to reflection

                    hipsterelectron@circumstances.runH This user is from outside of this forum
                    hipsterelectron@circumstances.runH This user is from outside of this forum
                    hipsterelectron@circumstances.run
                    wrote last edited by
                    #13

                    @somebody it's so incredibly obnoxious. pages upon pages telling the deeds of great men

                    1 Reply Last reply
                    0
                    • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

                      i keep reading to find when i'm gonna find some discussion of semantics. hasn't happened yet

                      hipsterelectron@circumstances.runH This user is from outside of this forum
                      hipsterelectron@circumstances.runH This user is from outside of this forum
                      hipsterelectron@circumstances.run
                      wrote last edited by
                      #14

                      the reason i fell into this trap in the first place because i wanted to understand what "C formalized in HOL" was on about https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-453.pdf

                      C also combines a number of interesting features on the theoretical front, making it additionally interesting as a subject of study.

                      this is not something i wanna hear from someone claiming to have formalized it

                      For example, C’s expressions both are side-effecting and have very under-specified evaluation orders. If these semantic features were the main area of interest in studying a language, then it would clearly be easier to construct a simple calculus that included these features and little else.

                      this is ridiculous. obviously these semantic features are not ideal when attempting to write code that runs e.g. in ring 0. yet people do it (and this is meaningfully outside the C standard). the UB becomes defined thanks to our friends who write the compiler. is it worth attempting to standardize ring 0 properties?

                      However, we prefer to attack as much of C as possible all at once. As Milner and Tofte point out in the commentary on the definition of SML [MT90], this study of languages in their entirety has its own grounds for interest, and we further feel that our study of C gives us a possible
                      application in the area of software verification.

                      they didn't even mention a single concrete implementation until the appendices

                      hipsterelectron@circumstances.runH 1 Reply Last reply
                      0
                      • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

                        the reason i fell into this trap in the first place because i wanted to understand what "C formalized in HOL" was on about https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-453.pdf

                        C also combines a number of interesting features on the theoretical front, making it additionally interesting as a subject of study.

                        this is not something i wanna hear from someone claiming to have formalized it

                        For example, C’s expressions both are side-effecting and have very under-specified evaluation orders. If these semantic features were the main area of interest in studying a language, then it would clearly be easier to construct a simple calculus that included these features and little else.

                        this is ridiculous. obviously these semantic features are not ideal when attempting to write code that runs e.g. in ring 0. yet people do it (and this is meaningfully outside the C standard). the UB becomes defined thanks to our friends who write the compiler. is it worth attempting to standardize ring 0 properties?

                        However, we prefer to attack as much of C as possible all at once. As Milner and Tofte point out in the commentary on the definition of SML [MT90], this study of languages in their entirety has its own grounds for interest, and we further feel that our study of C gives us a possible
                        application in the area of software verification.

                        they didn't even mention a single concrete implementation until the appendices

                        hipsterelectron@circumstances.runH This user is from outside of this forum
                        hipsterelectron@circumstances.runH This user is from outside of this forum
                        hipsterelectron@circumstances.run
                        wrote last edited by
                        #15

                        This style of definition was used in the definition of Standard ML by Milner, Tofte and Harper [MTH90]. This example, one of the most famous formal language definitions, is a clear demonstration that a large language can be formalised in this manner.

                        i'm getting the impression that the seL4 HOL C semantics may not be as useful as it's being let on lmao

                        hipsterelectron@circumstances.runH xyhhx@social.treehouse.systemsX 2 Replies Last reply
                        0
                        • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

                          This style of definition was used in the definition of Standard ML by Milner, Tofte and Harper [MTH90]. This example, one of the most famous formal language definitions, is a clear demonstration that a large language can be formalised in this manner.

                          i'm getting the impression that the seL4 HOL C semantics may not be as useful as it's being let on lmao

                          hipsterelectron@circumstances.runH This user is from outside of this forum
                          hipsterelectron@circumstances.runH This user is from outside of this forum
                          hipsterelectron@circumstances.run
                          wrote last edited by
                          #16

                          Precisely because the standard’s definition of C is not formal, we can never hope to prove our formal definition consistent with it.

                          actively violent and evil thing to say

                          hipsterelectron@circumstances.runH 1 Reply Last reply
                          0
                          • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

                            Precisely because the standard’s definition of C is not formal, we can never hope to prove our formal definition consistent with it.

                            actively violent and evil thing to say

                            hipsterelectron@circumstances.runH This user is from outside of this forum
                            hipsterelectron@circumstances.runH This user is from outside of this forum
                            hipsterelectron@circumstances.run
                            wrote last edited by
                            #17

                            At best we can hope that our definition comes to be seen as correct by the community of people concerned with C’s definition and standardisation.

                            this is now becoming kind of worrying. a formal semantics can be matched to the behavior from a compiler and our friends in the compiler and in our CPU architecture manuals can describe whether it matches the "formalization"

                            Such a community can perform very useful error-checking.

                            how does anyone write this stuff

                            hipsterelectron@circumstances.runH 1 Reply Last reply
                            0
                            • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

                              At best we can hope that our definition comes to be seen as correct by the community of people concerned with C’s definition and standardisation.

                              this is now becoming kind of worrying. a formal semantics can be matched to the behavior from a compiler and our friends in the compiler and in our CPU architecture manuals can describe whether it matches the "formalization"

                              Such a community can perform very useful error-checking.

                              how does anyone write this stuff

                              hipsterelectron@circumstances.runH This user is from outside of this forum
                              hipsterelectron@circumstances.runH This user is from outside of this forum
                              hipsterelectron@circumstances.run
                              wrote last edited by
                              #18

                              In addition, if used as the basis for software tools that do not necessarily require a deep understanding of its details, a formal semantics may come to be accepted as correct simply because of what it has made possible in the pragmatic domain.

                              this is FUCKED! a formal semantics is not something you can bully people into accepting. jfc

                              hipsterelectron@circumstances.runH jab01701mid@mastodon.socialJ 2 Replies Last reply
                              0
                              • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

                                In addition, if used as the basis for software tools that do not necessarily require a deep understanding of its details, a formal semantics may come to be accepted as correct simply because of what it has made possible in the pragmatic domain.

                                this is FUCKED! a formal semantics is not something you can bully people into accepting. jfc

                                hipsterelectron@circumstances.runH This user is from outside of this forum
                                hipsterelectron@circumstances.runH This user is from outside of this forum
                                hipsterelectron@circumstances.run
                                wrote last edited by
                                #19

                                A denotational semantics defines an appropriate mathematical space as a model for a language, and maps the language’s syntax into that space in a way that is compositional. This property requires that the semantics of a syntactic phrase be a function of the semantics of the phrase’s syntactic sub-components.

                                so "denotation semantics" is a made up interpretation that conforms to some fuckboy's idea of aesthetically pleasing. see i'm learning so much

                                hipsterelectron@circumstances.runH milo@types.plM 2 Replies Last reply
                                0
                                • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

                                  A denotational semantics defines an appropriate mathematical space as a model for a language, and maps the language’s syntax into that space in a way that is compositional. This property requires that the semantics of a syntactic phrase be a function of the semantics of the phrase’s syntactic sub-components.

                                  so "denotation semantics" is a made up interpretation that conforms to some fuckboy's idea of aesthetically pleasing. see i'm learning so much

                                  hipsterelectron@circumstances.runH This user is from outside of this forum
                                  hipsterelectron@circumstances.runH This user is from outside of this forum
                                  hipsterelectron@circumstances.run
                                  wrote last edited by
                                  #20

                                  it keeps going. now he's claiming to be the first to have invented the C abstract machine (operational semantics)

                                  hipsterelectron@circumstances.runH 1 Reply Last reply
                                  0
                                  • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

                                    it keeps going. now he's claiming to be the first to have invented the C abstract machine (operational semantics)

                                    hipsterelectron@circumstances.runH This user is from outside of this forum
                                    hipsterelectron@circumstances.runH This user is from outside of this forum
                                    hipsterelectron@circumstances.run
                                    wrote last edited by
                                    #21

                                    OMG

                                    It is central to our thesis that the semantics of C is so complicated that it can only be usefully manipulated in the context of a theorem prover.

                                    THE C STANDARD IS WRITTEN BY HUMANS? FOR HUMANS?

                                    hipsterelectron@circumstances.runH miss_rodent@girlcock.clubM 2 Replies Last reply
                                    0
                                    • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

                                      A denotational semantics defines an appropriate mathematical space as a model for a language, and maps the language’s syntax into that space in a way that is compositional. This property requires that the semantics of a syntactic phrase be a function of the semantics of the phrase’s syntactic sub-components.

                                      so "denotation semantics" is a made up interpretation that conforms to some fuckboy's idea of aesthetically pleasing. see i'm learning so much

                                      milo@types.plM This user is from outside of this forum
                                      milo@types.plM This user is from outside of this forum
                                      milo@types.pl
                                      wrote last edited by
                                      #22

                                      @hipsterelectron im on team operational semantics

                                      1 Reply Last reply
                                      0
                                      • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

                                        OMG

                                        It is central to our thesis that the semantics of C is so complicated that it can only be usefully manipulated in the context of a theorem prover.

                                        THE C STANDARD IS WRITTEN BY HUMANS? FOR HUMANS?

                                        hipsterelectron@circumstances.runH This user is from outside of this forum
                                        hipsterelectron@circumstances.runH This user is from outside of this forum
                                        hipsterelectron@circumstances.run
                                        wrote last edited by
                                        #23

                                        this is also pretty worrying because he dismissed earlier ever conforming with the C standard, and seL4 literally just asserts that its C code conforms to the model

                                        hipsterelectron@circumstances.runH tryst@fedi.imu.liT 2 Replies Last reply
                                        0
                                        • hipsterelectron@circumstances.runH hipsterelectron@circumstances.run

                                          this is also pretty worrying because he dismissed earlier ever conforming with the C standard, and seL4 literally just asserts that its C code conforms to the model

                                          hipsterelectron@circumstances.runH This user is from outside of this forum
                                          hipsterelectron@circumstances.runH This user is from outside of this forum
                                          hipsterelectron@circumstances.run
                                          wrote last edited by
                                          #24

                                          like this was not some newfangled thing people started doing recently! people writing code that needs to validate nontrivial properties generally do it by actually getting their hands dirty and doing the work to link the compiler's internal semantics to the representation made in HOL or whatever

                                          hipsterelectron@circumstances.runH 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups