azac / cobol-on-wheelchair Goto Github PK
View Code? Open in Web Editor NEWMicro web-framework for COBOL
License: MIT License
Micro web-framework for COBOL
License: MIT License
I'm partway through developing a multi-user interactive application using CoW (it's a social website, kinda like Facebook).
Can we get support for POST variables? This will greatly aid development of forms. Currently I don't have a way for users to submit data.
Your website is down, now I can't troll my friends as easily ๐
http://adrianzandberg.pl/cobol-on-wheelchair/ is dead ๐ข
Consider using inclusive language to set a good example and tone. The project uses the wheelchair reference in a sarcastic manner which might offend people with disabilities.
Suggestions:
cobol-with-automatic-transmission
, cobol-on-a-turbo-engine
, cobol-on-trolley
(by @CuloArdido)
I followed the installation instructions in the README, and got this error:
/var/folders/m5/8ywlvk7517x1fj90lvkmdk800000gn/T//cob97241_0.c:496:5: error: indirect goto in
function with no address-of-label expressions
goto *frame_ptr->return_address;
^
1 error generated.
I'm running on OS X Mavericks, and installed COBOL with
brew update
brew install open-cobol
which seemed to go perfectly well.
This does not compile when used with GNU Cobol 2.2 or 3.0, due to a collision with the C reserved word template
.
With cobc (GnuCOBOL) 2.2.0
:
[vagrant@localhost cobol-on-wheelchair]$ cobc --version
cobc (GnuCOBOL) 2.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Keisuke Nishida, Roger While, Ron Norman, Simon Sobisch, Edward Hart
Built May 31 2020 15:29:27
Packaged Sep 06 2017 18:48:43 UTC
C version "4.8.5 20150623 (Red Hat 4.8.5-39)"
[vagrant@localhost cobol-on-wheelchair]$ ./downhill.sh
cow.cbl: 385: error: invalid PROGRAM-ID 'template' - name duplicates a 'C' keyword
controllers/showsum.cbl: 50: warning: line not terminated by a newline
[vagrant@localhost cobol-on-wheelchair]$ echo $?
1
And with cobc (GnuCOBOL) 3.0-rc1.0
:
[vagrant@localhost cobol-on-wheelchair]$ cobc --version
cobc (GnuCOBOL) 3.0-rc1.0
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Keisuke Nishida, Roger While, Ron Norman, Simon Sobisch, Edward Hart
Built May 31 2020 02:08:46
Packaged Apr 22 2018 22:26:37 UTC
C version "4.8.5 20150623 (Red Hat 4.8.5-39)"
[vagrant@localhost cobol-on-wheelchair]$ ./downhill.sh
cow.cbl:385: error: invalid PROGRAM-ID 'template' - name duplicates a 'C' keyword
controllers/showsum.cbl:50: warning: line not terminated by a newline
[vagrant@localhost cobol-on-wheelchair]$ echo $?
1
This should work as it does with gnucobol 1.1.0:
[vagrant@localhost cobol-on-wheelchair]$ cobc --version
cobc (GNU Cobol) 1.1.0
Copyright (C) 2001,2002,2003,2004,2005,2006,2007 Keisuke Nishida
Copyright (C) 2006-2012 Roger While
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Built May 31 2020 15:32:42
Packaged Jan 20 2014 07:40:53 UTC
C version "4.8.5 20150623 (Red Hat 4.8.5-39)"
[vagrant@localhost cobol-on-wheelchair]$ ./downhill.sh
[vagrant@localhost cobol-on-wheelchair]$ ./the.cow
content-type: text/html
<html>
<head>
<title>
Hello CoW.
</title>
</head>
<body>
<img src='images/logo.png' hspace=30 align=left>
<h2>Cobol on Wheelchair says hello!</h2>
<P>
<b>Examples</b>
<ul>
<li><a href="showname/Adrian">Hello World</a>
<li><a href="showsum/22/11">Calculator (values from path)</a>
</ul>
</body>
</html>
libcob: Cannot find module ''
[vagrant@localhost cobol-on-wheelchair]$ cat /etc/centos-release
CentOS Linux release 7.8.2003 (Core)
http://adrianzandberg.pl/cobol-on-wheelchair/ is dead ๐ข
I have a relatively funny idea for a new CoW-based project, but it would require support for {{ for ... }}
or similar loops in the template system.
as in topic
Your site is down like a communism, again ;(
Existing technologies such as Ruby on Rails and Groovy on Grails have established an elegant alliteration in their project names, lending themselves to be memorable and appealing. While I applaud this project's goals, its name is lack luster and deviates from de-facto naming formats.
I propose this project be renamed so as to adhere to established norms. As an initial brainstorming, I suggest the following:
I'm going to need to run my javascript through Babel and transpile it to a COW on the server and client for a SPA.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.