LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-30-2020, 11:49 PM   #1
des_a
Member
 
Registered: Sep 2006
Posts: 792
Blog Entries: 31

Rep: Reputation: 19
My First Primary OS Goal


Here's what I want to do:

Step 1. Finish language. PNF and related tools.

When testing them I was unsure of the liscence. But I ended up using gpl for production copies. Found at http://smileynet001.ddns.net:81/~pnf. As of writing, website is down. Need to get back up.

Step 2 - Test on Linux.

Step 3 - Build Linux from scratch. Modify init to call my pnf program with bootloader file as parameter. boot.pnf

Step 4 - write bootloader code to jump to kernel

Step 5 - Write kernel


Tell me what you think of plans, please.
 
Old 05-31-2020, 07:38 AM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,332

Rep: Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432
Quote:
Originally Posted by des_a View Post
Here's what I want to do:

Step 1. Finish language. PNF and related tools.

When testing them I was unsure of the liscence. But I ended up using gpl for production copies. Found at http://smileynet001.ddns.net:81/~pnf. As of writing, website is down. Need to get back up.

Step 2 - Test on Linux.

Step 3 - Build Linux from scratch. Modify init to call my pnf program with bootloader file as parameter. boot.pnf

Step 4 - write bootloader code to jump to kernel

Step 5 - Write kernel


Tell me what you think of plans, please.
That makes clear some steps, but not your real goal. Am I understand that your real goal is to create a new programming language or compiler and then migrate Linux source to that new language or compiler and compile and test the migrated Linux kernel?
 
Old 05-31-2020, 01:36 PM   #3
des_a
Member
 
Registered: Sep 2006
Posts: 792

Original Poster
Blog Entries: 31

Rep: Reputation: 19
How's this:

1st Real Goal - Finish creating language

2nd Real Goal - Use language to create itself when powerful enough

3rd Real Goal - Create a new OS using language
 
Old 06-01-2020, 04:17 AM   #4
boughtonp
Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 364

Rep: Reputation: 233Reputation: 233Reputation: 233

Is this a pure learning exercise, or do you foresee other people using your language and/or operating system?

 
Old 06-02-2020, 10:42 PM   #5
des_a
Member
 
Registered: Sep 2006
Posts: 792

Original Poster
Blog Entries: 31

Rep: Reputation: 19
I hope that other people would begin to use my language. And I hope the two most common uses would be writing new languages and operating systems.
 
Old 06-03-2020, 12:24 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,890

Rep: Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207
Good luck - especially as how long it took google to finally get Fuchsia out the door.

Sounds to me you are diving in the deep end.
 
Old 06-03-2020, 12:46 AM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,633

Rep: Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758
Quote:
Originally Posted by des_a View Post
I hope that other people would begin to use my language. And I hope the two most common uses would be writing new languages and operating systems.
Why do you think we need more languages and operating systems? Can you offer something really "amazing"?
 
Old 06-24-2020, 05:39 AM   #8
des_a
Member
 
Registered: Sep 2006
Posts: 792

Original Poster
Blog Entries: 31

Rep: Reputation: 19
So far, it is unique. It has multiple types of on the PC, what would be called interrupts. Also it's functions have multiple return values if needed.

Also, this is the start of a super language which will be used to create a compiler that takes English as it's input. My final language goal is to be able to program by voice command. An os or whatever.
 
Old 06-24-2020, 07:43 AM   #9
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,332

Rep: Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432
What classes have you taken in compiler construction?Are you using any standard compiler construction tools? Have you experience in language creation and railroad logic? Have you a definition for your language, or are you still defining the syntax diagrams?
 
Old 06-25-2020, 01:27 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,562
Blog Entries: 9

Rep: Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068
Quote:
Originally Posted by des_a View Post
So far, it is unique. It has multiple types of on the PC, what would be called interrupts. Also it's functions have multiple return values if needed.

Also, this is the start of a super language which will be used to create a compiler that takes English as it's input. My final language goal is to be able to program by voice command. An os or whatever.
That is so cool. Where is it? I want to see it and test it, and tell people to contribute!
 
Old 06-27-2020, 09:56 AM   #11
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware
Posts: 35

Rep: Reputation: 18
Looks like he's reinventing Forth.
 
Old 06-28-2020, 12:54 AM   #12
des_a
Member
 
Registered: Sep 2006
Posts: 792

Original Poster
Blog Entries: 31

Rep: Reputation: 19
I have taken no classes in compiler construction. I am book and web and self taught.
 
Old 06-28-2020, 12:56 AM   #13
des_a
Member
 
Registered: Sep 2006
Posts: 792

Original Poster
Blog Entries: 31

Rep: Reputation: 19
I am using bison and flex for parts of it. When it's ready I will use biflex in it. I invented biflex and it's almost ready.
 
Old 06-28-2020, 12:58 AM   #14
des_a
Member
 
Registered: Sep 2006
Posts: 792

Original Poster
Blog Entries: 31

Rep: Reputation: 19
This is my biggest experience in compiler construction. What is railroad logic?
 
Old 06-28-2020, 12:59 AM   #15
des_a
Member
 
Registered: Sep 2006
Posts: 792

Original Poster
Blog Entries: 31

Rep: Reputation: 19
Still adding features, so still no syntax diagrams.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Librem 15, the first free software GNU/Linux laptop, makes funding goal LXer Syndicated Linux News 0 01-22-2015 06:06 PM
My first post on LQ - My goal in life and more Zacariaz LinuxQuestions.org Member Intro 4 07-01-2011 02:38 AM
Dual boot primary Linspire & XP primary slave? watmonki Linspire/Freespire 5 11-01-2005 08:16 PM
boot loader, MBR, redhat9 on primary slave, winxp on primary master samik Linux - Hardware 4 10-15-2003 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration