samtrosku

From Lojban
Jump to navigation Jump to search

Could lojban be used as a programming language?

Has anything been done along those lines?

If so, this is the page to collect that kind of information.

References

Discussion

  • rab.spir:
    • I believe that using mekso, a few cmavo, and an interpreter which would understand them, you would already have a simple programming language.

Lojban Shell (lsh)

Should we use a CPU instead of a shell as an analogy? Lojban Virtual Machine? With existence registers da, de, di. And reference registers ko'a through fo'u.

Samtrosku, the specification

  • rab.spir:
    • I started working on a specification for what a Lojban-based computer language would be like a while ago. The recent discussion on the list has prompted me to work some more on it and post it.
  • Adam:
    • Could someone please explain what the point of this is? Why is Lojban a better basis for a programming language than English? The subset of English used in programming languages is just as unambiguous as the subset of Lojban to be used would be.
  • rizen:
    • Using English as a programming language would require a horrible mangling of the grammar just to be able to use it effectively. Also, lojban can say things that are of interest to mathematicians and programmers in fewer words than English can, just to begin with.
  • jay:
    • Cause people want to do it. (And no, the 'subset' of English used in programming languages has nothing to do with the grammar, just words being connected to related concepts. Programming with Lojban would make use of the grammar, also).
    • "Programs must be written for people to read, and only incidentally for machines to execute." - Abelson & Sussman, SICP, preface to the first edition.
  • avr:
    • English is ok as a base for a programming language for a very limited subset of real world; maybe lojban could be better in fields such as artificial intelligence,interacting with humans, processing and understanding writings and orders because unambiguity.
  • ShaeErisson: