New answers tagged

0 votes

Reference types

In Swift, there is a conscious distinction between "reference types" and "value types". classes and closures are reference types, structs, enums, and tuples are value types. If you ...
gnasher729's user avatar
0 votes

Do we create a programming language by writing a compiler?

You can write a program that takes input, parses it, and at the end either says “this is a valid program” or “this is not a valid program”. If that output is consistent, that is the same input always ...
gnasher729's user avatar
0 votes

Do we create a programming language by writing a compiler?

I think a good way to think about it is half and half. I think what @zpavlinovic mentions is true, a language can exist without a compiler. The way I like to think about it is that the language is a ...
Ben's user avatar
  • 1

Top 50 recent answers are included