Author Topic: GlassOS - Lithp Ith Happening  (Read 36402 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: GlassOS - "I'm not dead"
« Reply #150 on: June 18, 2013, 01:50:01 am »
Would Forth be the only available language for this OS? If it's really as hard as Z80, maybe it would be good to have an alternative, such as an optional port of Axe or Grammer. Of course that would require the respective authors to port them, though.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: GlassOS - "I'm not dead"
« Reply #151 on: June 19, 2013, 03:28:14 pm »
Just like any computer, for a language to run an interpreter has to be made for it. There's nothing preventing other languages from running on it, except for lacking a port. Axe, in particular, would need modifications to accomodate the new OS structure, but most of the internal code it generates would be fine as-is.

Also, Forth is not as hard as z80, at least in my opinion. However, it's not exactly straightforward to look at.
« Last Edit: June 19, 2013, 04:06:59 pm by willrandship »

Offline adrusi

  • LV2 Member (Next: 40)
  • **
  • Posts: 25
  • Rating: +4/-0
    • View Profile
    • Adrusi
Re: GlassOS - "I'm not dead"
« Reply #152 on: June 19, 2013, 07:36:42 pm »
FORTH take some getting used to. Learning to manipulate the stack to do exactly what you want without pondering it for a couple minutes will require you to seriously dive into the language and do some real work in it. After that it's not too bad.

In some ways forth is actually easier. For one thing, the language has relatively few operations and no pointer management.

Yes it does. Though not used nearly as often as in other languages, FORTH has variables, and they are used as pointers (declaring a variable defines a word that pushes the address of the variable to the stack, and you can manipulate it like any other number on the stack).
« Last Edit: June 19, 2013, 07:41:57 pm by adrusi »

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: GlassOS - "I'm not dead"
« Reply #153 on: June 23, 2013, 11:05:44 pm »
In any case, since GlassOS has a fully implemented libc, it would be fairly trivial to port Lua.
« Last Edit: June 23, 2013, 11:05:56 pm by willrandship »

Offline AHelper

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +18/-0
    • View Profile
    • GlaßOS razzl
Re: GlassOS - "I'm not dead"
« Reply #154 on: March 04, 2014, 12:24:09 am »
Bump, FORTH isn't the only language, a form of LISP is in the making that will be cross-platform in C.  Currently, it is being held back due to a lack of a tiny cross-platform floating point library. Neither are completed and GlassOS work is on hold due to other projects taking up my time.
SDCC tastes like air bags - big output, but fast and safe to run.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: GlassOS - Lithp Ith Happening
« Reply #155 on: March 07, 2014, 12:45:37 am »
Aaah I see. Hopefully you find more time to work on this in  the future. What are your currently active projects btw?