flat assembler
Message board for the users of flat assembler.

Index > High Level Languages > Miracle Browser with 40 Soulscript Pages. The New Internet

Author
Thread Post new topic Reply to topic
soul_master



Joined: 30 Jun 2023
Posts: 13
soul_master 19 Jan 2024, 22:34
Initial release of Miracle Browser V0. Viewer of Soulscript (.SOUL) pages. Download: https://github.com/starpow3r/miracle

40 example pages, tutorials on C and Assembler, graphics, machine code, compression schemes, electronics devices, and custom launchers.

WHAT IS SOULSCRIPT?

Soulscript is a Page Scripting Language (PSL) like HTML/CSS/JS, but much easier, clearer, smaller, and written in pure portable C with TinyCC. Designed for teaching, writing books, tutorials, creating examples, help files, documentation, and custom explorers and launchers of files, folders, programs, games, videos and music.

Easiest language ever. Teachable in one sentence: Just write text inside of <t><>, and code inside of <code><>. ; Is a comment. No required <tags> like <html><head></head><style> </style><script></script> <body></body></html>.

EXAMPLE

Code:
<t>My Page.<> ; Minimal example in only 1 line!    


Description:
Filesize: 72.21 KB
Viewed: 869 Time(s)

index.gif


Description:
Filesize: 109.78 KB
Viewed: 869 Time(s)

images.gif




Last edited by soul_master on 20 Jan 2024, 00:10; edited 2 times in total
Post 19 Jan 2024, 22:34
View user's profile Send private message Reply with quote
soul_master



Joined: 30 Jun 2023
Posts: 13
soul_master 19 Jan 2024, 22:50
TEXT

Code:
<t>Small Text<>
<t2>Medium Text<>
<t3>Big Text<>
<t4>Bigger Text<>    


COLORS

Code:
<t3>
  Colors:
  <#f00>RED<>, <#0f0>GREEN<>, <#00f>BLUE<>,
  <#0ff>CYAN<>, <#f0f>MAGENTA<>, <#ff0>YELLOW<>.
<>    


CODE

Supports multiple languages: C/C++, ASM, FASM/G, HTML, CSS, JS, PHP, Python, etc. C is the default.

Code:
<code='c'>
  // example

  #include <<stdio.h>>

  int main() {
    puts("white");
    return 0;
  }
<>

<code='asm'>
  rgb12:
    and eax, 1111b
    shl eax, 8
    and ecx, 1111b
    shl ecx, 4
    or eax, ecx
    and edx, 1111b
    or eax, edx
  ret
<>

<code='fasmg'>
  macro movm a, b
    push b
    pop a
  end macro
<>    


Code:
<code='c'>int i=0;<>
<code='cpp'>class DOT { int x, y; };<>
<code='a'>loop n, say('Hi'), end<>
<code='s'><<t>>Soulscript<<>><>
<code='asm'>mov dword [edi+ecx*4], 1<>
<code='fasm'>forward push [esi+i*4]<>
<code='fasmg'>match a==b+c, p<>
<code='html'><</body>><>
<code='css'>width: 320px;<>
<code='js'>let a=1;<>
<code='php'>function rgb24(r, g, b)<>
<code='py'>print('Hello')<>    


Description:
Filesize: 37.44 KB
Viewed: 867 Time(s)

languages.gif


Description:
Filesize: 108.96 KB
Viewed: 867 Time(s)

themes.gif


Description: Flat Assembler G!
Filesize: 49.19 KB
Viewed: 867 Time(s)

fasmg.gif


Post 19 Jan 2024, 22:50
View user's profile Send private message Reply with quote
soul_master



Joined: 30 Jun 2023
Posts: 13
soul_master 19 Jan 2024, 23:52
Custom launchers of games, videos and music. See LINK.SOUL, GAMES.SOUL and VIDEOS.SOUL.


Description:
Filesize: 155.81 KB
Viewed: 860 Time(s)

games_videos.gif


Post 19 Jan 2024, 23:52
View user's profile Send private message Reply with quote
soul_master



Joined: 30 Jun 2023
Posts: 13
soul_master 23 Feb 2024, 05:05
Miracle Browser V0.1: https://github.com/starpow3r/miracle See VARIABLE and LOOP. INDEX is the main file.

UPDATES

* Minimal variables: int a, b, byte c, text t='Hi'. See VARIABLE.SOUL
* Print variables inside text/code tags, <?name>, as hexa/decimal/binary/k/m/g: int n=123, <t>Variable: <?n><>
* Experimental if and loops. Generate <tags> programmatically in loops with variables. Example: loop 5, <t>Hi<>, end.
* page.image='abc' ; stretch. page.texture='abc' ; repeat. See ANIMALS.

BUG FIXES

* In code viewer, fixed code disappearing on right side (clip box wasn't being restored), and fixed not displaying colors properly when scrolled (draw_edit started at wrong location).
* Fixed crash if right click with no selection (address=0).
* Fixed typos in example pages.

Updated every 1-2 months. Site in development.


Description:
Filesize: 61.01 KB
Viewed: 531 Time(s)

loops.gif


Post 23 Feb 2024, 05:05
View user's profile Send private message Reply with quote
soul_master



Joined: 30 Jun 2023
Posts: 13
soul_master 23 Feb 2024, 07:40
Updated GitHub again. Accidentally uploaded "debug" version. Anyone downloaded it? Please retry.
Post 23 Feb 2024, 07:40
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1385
Location: Piraeus, Greece
Picnic 23 Feb 2024, 10:48
Honestly speaking, it looks and plays fantastic. Here, I have uploaded two screenshots from my Windows 7 system where Miracle browser working flawlessly and fast.
This is big stuff, it will probably need a book. I mean that (from a beginner's point of view) maybe at first glance it seems a little difficult to master. It's new.

Image

Image

_________________
Hobby BASIC Interpreter
Post 23 Feb 2024, 10:48
View user's profile Send private message Reply with quote
sylware



Joined: 23 Oct 2020
Posts: 407
Location: Marseille/France
sylware 23 Feb 2024, 11:38
what's the catch?

What are the dependencies?

(BTW, you could use also use CPROC+QBE as a C compiler, generated machine code is light years faster since it does include basic optimization passes, everything in plain and simple C, unlike those abomination of gcc|clang/llvm).

And don't forget, rv64 assembly is the new C Razz
Post 23 Feb 2024, 11:38
View user's profile Send private message Reply with quote
soul_master



Joined: 30 Jun 2023
Posts: 13
soul_master 24 Feb 2024, 01:11
Picnic: Thanks for your comments, the screenshots, and for confirming that it runs on W7. It's beta, incomplete, and not intended to be seriously used yet.
Post 24 Feb 2024, 01:11
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1385
Location: Piraeus, Greece
Picnic 24 Feb 2024, 08:46
You're welcome soul_master.
There is a long road ahead. In that case, i will be watching Starpower Software.
Post 24 Feb 2024, 08:46
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.