Menu

Tree [06a0ef] main /
 History

HTTPS access


File Date Author Commit
 64 2024-09-19 Ronny Ronny [06a0ef] Added support for MariaDB
 LGPL 2024-09-19 Ronny Ronny [0a5efc] Add support for MariaDB
 demo_dll 2024-08-28 Ronny Ronny [8dcdea] first commit
 help 2024-08-28 Ronny Ronny [8dcdea] first commit
 ide 2024-08-28 Ronny Ronny [8dcdea] first commit
 opengl 2024-08-28 Ronny Ronny [8dcdea] first commit
 .gitattributes 2024-09-19 Ronny Ronny [06a0ef] Added support for MariaDB
 3dcheck.bmp 2024-08-28 Ronny Ronny [8dcdea] first commit
 README.md 2024-09-19 Ronny Ronny [06a0ef] Added support for MariaDB
 SpeedTest.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 add.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 arrow_1_green.xpm 2024-08-28 Ronny Ronny [8dcdea] first commit
 base64.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 bitmap.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 caching_sha2_password.dll 2024-09-19 Ronny Ronny [0a5efc] Add support for MariaDB
 check.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 clipboard.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 color.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 color_edit.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 compile.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 db_con.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 demo.db 2024-08-28 Ronny Ronny [8dcdea] first commit
 dir.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 dot-red.xpm 2024-08-28 Ronny Ronny [8dcdea] first commit
 ed.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 edit_cust.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 event.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 frame1.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 frame2.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 frame3.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 lang.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 libiconv-2.dll 2024-08-28 Ronny Ronny [a00817] Missing files
 libintl-8.dll 2024-08-28 Ronny Ronny [a00817] Missing files
 libmariadb.dll 2024-09-19 Ronny Ronny [0a5efc] Add support for MariaDB
 mandelbr.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 math.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 paint.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 print.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 protect.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 richedit.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 select.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 sql.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 sql_old.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 start.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 str_test.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 swe.exe 2024-09-19 Ronny Ronny [06a0ef] Added support for MariaDB
 sweq.exe 2024-09-19 Ronny Ronny [06a0ef] Added support for MariaDB
 tab_ctrl.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 tcp.sw 2024-08-28 Ronny Ronny [484cdf] Uppdated
 tooltip.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 tree.sw 2024-08-28 Ronny Ronny [8dcdea] first commit
 updown.sw 2024-08-28 Ronny Ronny [8dcdea] first commit

Read Me

The Swedish Compiler

This compiler is focusing on easy gui and databases. It’s support PostgreSQL, MariaDB, SqLite, Odbc. It is running under Linux too (wine). OpenGL support (only 64 bits version), easy printer layout (non gui) and serial communication (demo is coming). I've been used it for a long time so it should be stabile (32 bits ver).

Sorry no source available (yet). A little affirmation this program doesn’t contain any call home code or any ads.

Demo & test

Most of the program here is just for test/debug propose and display of the syntax (please don't laugh as most of it is nonsense).
As there is no documentation only a help program that reads out instructions and command from the program. There are 2 fully working program under my repositories so you can take a look on them too.

Program

The 64 bit version is experimental and not fully debugged. 32 bits version has been used for a long time so it should be stabile. But I suppose when people trying to get things working they will pop up.

Program Bits Supports
swe.exe 32 PostgreSQL, MariaDB, SqLite, Odbc
sweq.exe 32 Only SqLite
swe64.exe 64 PostgreSQL, MariaDB, SqLite, Odbc, OpenGL

md5sum

Program md5sum
swe.exe e755c9981c86f0e6f6eb80680e1eb846
sweq.exe 469c08ef7ea11489983defae8ebe2e56
swe64.exe e5678f2614d48bc38bb107d87718ee1b

Compiler

The compiler is based on the old Lex & Yacc. Those program solves the problem that most compilers have, that they doesn't handle Math correct.

The result of this two calculation should be the same.

func main ()
  info ( 10 * 20 + 5 )
  info ( 5 + 10 * 20  )
end

Source size is about 110 000 lines.

As widgets id’s is created automatic (no #define needed) so can a syntax error down in the program results in allot of errors at the beginning. So the first error in the list doesn’t actually be an error. Only just a result of a missing creation of a widget id. The compiler is a two pass compiler.

Editor

In the demo there is an embryo to a IDE, but it’s not complete.
So I’m using the SciTE editor (this editor is also the base for my IDE).
For an easy use of this Compiler, do this:

Download SciTE editor. Open the cpp.properties (under options).
Change line 4 to: file.patterns.cpp=.sw;.c;.cc;.cpp;.cxx;.h;.hh;.hpp;.hxx;.ipp;.m;.mm;*.sma

Add this to the end:

command.compile.*.sw=E:\SweCompiler-main\swe.exe $(FileNameExt)
command.build.*.sw=E:\SweCompiler-main\64\swe64.exe $(FileNameExt)
command.go.*.sw=E:\SweCompiler-main\sweq.exe $(FileNameExt)
Keys Program
ctrl-F7 swe.exe
F7 swe64.exe
F5 sweq.exe
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.